ezEngine  Release 25.03
ezProcessCommunicationChannel Class Reference
Inheritance diagram for ezProcessCommunicationChannel:

Classes

struct  Event
 

Public Types

using WaitForMessageCallback = ezDelegate< bool(ezProcessMessage *)>
 

Public Member Functions

bool SendMessage (ezProcessMessage *pMessage)
 
ezResult WaitForMessage (const ezRTTI *pMessageType, ezTime timeout, WaitForMessageCallback *pMessageCallack=nullptr)
 
ezResult WaitForConnection (ezTime timeout)
 
bool IsConnected () const
 
bool ProcessMessages ()
 Returns true if any message was processed.
 
void WaitForMessages ()
 
void MessageFunc (const ezProcessMessage *pMsg)
 

Public Attributes

ezEvent< const Event & > m_Events
 

Protected Attributes

ezUniquePtr< ezIpcProcessMessageProtocolm_pProtocol
 
ezUniquePtr< ezIpcChannelm_pChannel
 
const ezRTTIm_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: