Plasma Engine  2.0
Loading...
Searching...
No Matches
plProcessCommunicationChannel Class Reference
Inheritance diagram for plProcessCommunicationChannel:

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< plIpcProcessMessageProtocolm_pProtocol
 
plUniquePtr< plIpcChannelm_pChannel
 
const plRTTIm_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: