![]() |
ezEngine Release 26.3
|

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 () |
Public Attributes | |
| ezEvent< const Event & > | m_Events |
| ezEvent< const ezIpcChannelEvent &, ezMutex > | m_IpcChannelEvents |
Protected Member Functions | |
| void | OnIpcProtocolEvent (const ezIpcProcessMessageProtocol::Event &msg) |
| void | OnIpcChannelEvent (const ezIpcChannelEvent &msg) |
| void | CreateAndConnectChannel (ezInternal::NewInstance< ezIpcChannel > &&channel) |
| void | DestroyChannel () |
Protected Attributes | |
| ezUniquePtr< ezIpcProcessMessageProtocol > | m_pProtocol |
| ezUniquePtr< ezIpcChannel > | m_pChannel |
| const ezRTTI * | 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.