Syntalos::MLinkControlChannel

Syntalos::MLinkControlChannel

Syntalos::MLinkControlChannel

The IPC endpoints on which we receive control messages from a worker process. More…

Public Functions

Name
boolisConnected() const
voiddisconnect()
voiddrainListener()
voidprocessErrors(MLinkControlSink & sink)
voidprocess(MLinkControlSink & sink, QuillLogger * log)

Public Attributes

Name
std::optional< IoxSubscriber< ErrorEvent > >subError
std::optional< IoxSubscriber< StateChangeEvent > >subStateChange
std::optional< IoxSubscriber< StatusMessageEvent > >subStatusMsg
std::optional< IoxSubscriber< SyncDetailsEvent > >subSyncDetails
std::optional< IoxSubscriber< SyncOffsetEvent > >subSyncOffset
std::optional< IoxUntypedReqServer >srvInPortChange
std::optional< IoxUntypedReqServer >srvOutPortChange
std::optional< IoxUntypedReqResServer >srvEdlReserve
std::optional< IoxListener >workerCtlEventListener

Detailed Description

class Syntalos::MLinkControlChannel;

The IPC endpoints on which we receive control messages from a worker process.

iceoryx2 endpoints must not be used by two threads at once. So this object is owned by exactly one thread at a time: By the main thread while no run is active, and by the module’s thread during a run. It is handed over when a run is started, and returned once the module’s thread has finished.

Public Functions Documentation

function isConnected

inline bool isConnected() const

function disconnect

inline void disconnect()

function drainListener

inline void drainListener()

function processErrors

inline void processErrors(
    MLinkControlSink & sink
)

Forward errors the worker process has reported.

function process

inline void process(
    MLinkControlSink & sink,
    QuillLogger * log
)

Process all incoming IPC data on the control channels and forward it.

This does not handle the high-volume data-plane channels, which have dedicated event/listener pairs for more efficient communication.

Public Attributes Documentation

variable subError

std::optional< IoxSubscriber< ErrorEvent > > subError;

variable subStateChange

std::optional< IoxSubscriber< StateChangeEvent > > subStateChange;

variable subStatusMsg

std::optional< IoxSubscriber< StatusMessageEvent > > subStatusMsg;

variable subSyncDetails

std::optional< IoxSubscriber< SyncDetailsEvent > > subSyncDetails;

variable subSyncOffset

std::optional< IoxSubscriber< SyncOffsetEvent > > subSyncOffset;

variable srvInPortChange

std::optional< IoxUntypedReqServer > srvInPortChange;

variable srvOutPortChange

std::optional< IoxUntypedReqServer > srvOutPortChange;

variable srvEdlReserve

std::optional< IoxUntypedReqResServer > srvEdlReserve;

variable workerCtlEventListener

std::optional< IoxListener > workerCtlEventListener;

Updated on 2026-11-26 at 18:54:14 +0000