|
Open Model Railroad Network (OpenMRN)
|
Typed message class. More...
#include <DirectHub.hxx>
Public Member Functions | |
| void | clear () |
Public Member Functions inherited from MessageMetadata | |
| void | clear () |
| Clears the message metadata, including notifying the barrier, if set. | |
| void | set_done (BarrierNotifiable *done) |
| Sets the done notifiable to a barrier. | |
Public Attributes | |
| BufferPtr< T > | payload_ |
| Contains a reference of the actual data. | |
Public Attributes inherited from MessageMetadata | |
| BarrierNotifiable * | done_ = nullptr |
| This must be notified when the processing of the message is complete. | |
| HubSource * | source_ = nullptr |
| Represents the input port where the message came in. | |
| HubSource * | dst_ = nullptr |
| Represents the output port where the message will leave. | |
| bool | isFlush_ = false |
| If true, this message should flush the output buffer. | |
Typed message class.
Senders to the hub will use this interface to fill in the message details on the hub.
Definition at line 92 of file DirectHub.hxx.
|
inline |
Definition at line 95 of file DirectHub.hxx.
| BufferPtr<T> MessageAccessor< T >::payload_ |
Contains a reference of the actual data.
Definition at line 102 of file DirectHub.hxx.