![]() |
Plasma Engine
2.0
|
Classes | |
struct | Event |
Public Types | |
using | WaitForMessageCallback = plDelegate<bool(plProcessMessage*)> |
Public Member Functions | |
bool | SendMessage (plProcessMessage *pMessage) |
plResult | WaitForMessage (const plRTTI *pMessageType, plTime timeout, WaitForMessageCallback *pMessageCallack=nullptr) |
plResult | WaitForConnection (plTime timeout) |
bool | IsConnected () const |
bool | ProcessMessages () |
Returns true if any message was processed. | |
void | WaitForMessages () |
void | MessageFunc (const plProcessMessage *pMsg) |
Public Attributes | |
plEvent< const Event & > | m_Events |
Protected Attributes | |
plUniquePtr< plIpcProcessMessageProtocol > | m_pProtocol |
plUniquePtr< plIpcChannel > | m_pChannel |
const plRTTI * | m_pFirstAllowedMessageType = nullptr |
/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.