XII Release 0.1.0
Loading...
Searching...
No Matches
xiiProcessCommunicationChannel Class Reference
Inheritance diagram for xiiProcessCommunicationChannel:
[legend]

Classes

struct  Event

Public Types

using WaitForMessageCallback = xiiDelegate<bool(xiiProcessMessage*)>
 Callback for 'wait for...' functions. If true is returned, the message is accepted to match the wait criteria and the waiting ends. If false is returned the wait for the message continues.

Public Member Functions

 xiiProcessCommunicationChannel ()
 Copyright (c) Theophilus Eriata. All Rights Reserved.
bool SendMessage (xiiProcessMessage *pMessage)
xiiResult WaitForMessage (const xiiRTTI *pMessageType, xiiTime timeout, WaitForMessageCallback *pMessageCallack=nullptr)
xiiResult WaitForConnection (xiiTime timeout)
bool IsConnected () const
bool ProcessMessages ()
 Returns true if any message was processed.
void WaitForMessages ()
void MessageFunc (const xiiIpcProcessMessageProtocol::Event &msg)

Public Attributes

xiiEvent< const Event & > m_Events

Protected Attributes

xiiUniquePtr< xiiIpcProcessMessageProtocol > m_pProtocol
xiiUniquePtr< xiiIpcChannel > m_pChannel
const xiiRTTI * m_pFirstAllowedMessageType = nullptr

The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Editor/EditorEngineProcessFramework/IPC/ProcessCommunicationChannel.h
  • /home/runner/work/XII/XII/Source/Editor/EditorEngineProcessFramework/IPC/Implementation/ProcessCommunicationChannel.cpp