Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
DirectHubPort< T > Class Template Referenceabstract

Interface for a downstream port of a hub (aka a target to send data to). More...

#include <DirectHub.hxx>

Inheritance diagram for DirectHubPort< T >:
HubSource

Public Member Functions

virtual void send (MessageAccessor< T > *msg)=0
 Send some data out on this port.
 

Detailed Description

template<class T>
class DirectHubPort< T >

Interface for a downstream port of a hub (aka a target to send data to).

Definition at line 154 of file DirectHub.hxx.

Member Function Documentation

◆ send()

template<class T >
virtual void DirectHubPort< T >::send ( MessageAccessor< T > *  msg)
pure virtual

Send some data out on this port.

The callee is responsible for buffering or enqueueing the data that came in this call.

Parameters
msgrepresents the message that needs to be sent. The callee must not modify the message.

The documentation for this class was generated from the following file: