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

Data type wrapper for sending data through a Hub. More...

#include <Hub.hxx>

Inheritance diagram for HubContainer< T >:

Public Types

typedef uintptr_t id_type
 The type of the identified of these object in the HUB.
 

Public Member Functions

id_type id ()
 Defines the indentifier used for the DispatchFlow inside the Hub.
 

Public Attributes

FlowInterface< Buffer< HubContainer< T > > > * skipMember_
 Defines which registered member of the hub should be skipped when the output members are enumerated.
 

Detailed Description

template<class T>
class HubContainer< T >

Data type wrapper for sending data through a Hub.

It adds the skipMember_ to the structure that represents for a HubFlow to decide where the data is coming from. This is needed to avoid the Hub performing loopback.

Definition at line 100 of file Hub.hxx.

Member Typedef Documentation

◆ id_type

template<class T >
typedef uintptr_t HubContainer< T >::id_type

The type of the identified of these object in the HUB.

Definition at line 108 of file Hub.hxx.

Constructor & Destructor Documentation

◆ HubContainer()

template<class T >
HubContainer< T >::HubContainer ( )
inline

Definition at line 104 of file Hub.hxx.

Member Function Documentation

◆ id()

template<class T >
id_type HubContainer< T >::id ( )
inline

Defines the indentifier used for the DispatchFlow inside the Hub.

Definition at line 113 of file Hub.hxx.

Member Data Documentation

◆ skipMember_

template<class T >
FlowInterface<Buffer<HubContainer<T> > >* HubContainer< T >::skipMember_

Defines which registered member of the hub should be skipped when the output members are enumerated.

Definition at line 111 of file Hub.hxx.


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