XII Release 0.1.0
Loading...
Searching...
No Matches
xiiEditorProcessCommunicationChannel Class Reference
Inheritance diagram for xiiEditorProcessCommunicationChannel:
[legend]

Public Member Functions

xiiResult StartClientProcess (const char *szProcess, const QStringList &args, bool bRemote, const xiiRTTI *pFirstAllowedMessageType=nullptr, xiiUInt32 uiMemSize=1024 *1024 *10)
 Copyright (c) Theophilus Eriata. All Rights Reserved.
bool IsClientAlive () const
void CloseConnection ()
xiiString GetStdoutContents ()
Public Member Functions inherited from xiiProcessCommunicationChannel
 xiiProcessCommunicationChannel ()
 Copyright (c) Theophilus Eriata. All Rights Reserved.
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 xiiIpcProcessMessageProtocol::Event &msg)

Additional Inherited Members

Public Types inherited from xiiProcessCommunicationChannel
using WaitForMessageCallback = xiiDelegate<bool(xiiProcessMessage*)>
 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.
Public Attributes inherited from xiiProcessCommunicationChannel
xiiEvent< const Event & > m_Events
Protected Attributes inherited from xiiProcessCommunicationChannel
xiiUniquePtr< xiiIpcProcessMessageProtocol > m_pProtocol
xiiUniquePtr< xiiIpcChannel > m_pChannel
const xiiRTTI * m_pFirstAllowedMessageType = nullptr

The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Editor/EditorFramework/IPC/EditorProcessCommunicationChannel.h
  • /home/runner/work/XII/XII/Source/Editor/EditorFramework/IPC/Implementation/EditorProcessCommunicationChannel.cpp