![]() |
XII Release 0.1.0
|
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< xiiIpcProcessMessageProtocol > | m_pProtocol |
xiiUniquePtr< xiiIpcChannel > | m_pChannel |
const xiiRTTI * | m_pFirstAllowedMessageType = nullptr |
using xiiProcessCommunicationChannel::WaitForMessageCallback = xiiDelegate<bool(xiiProcessMessage*)> |
/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.