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*)>
 

Public Member Functions

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 xiiProcessMessage *pMsg)
 

Public Attributes

xiiEvent< const Event & > m_Events
 

Protected Attributes

xiiUniquePtr< xiiIpcProcessMessageProtocolm_pProtocol
 
xiiUniquePtr< xiiIpcChannelm_pChannel
 
const xiiRTTIm_pFirstAllowedMessageType = nullptr
 

Member Typedef Documentation

◆ WaitForMessageCallback

/brief 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.


The documentation for this class was generated from the following files: