DetectorGraph  2.0
Public Member Functions | List of all members
DetectorGraph::SubscriptionDispatcher< T > Class Template Reference

Internal - Implements the data-out edge from a topic to one of its subscriber. More...

Collaboration diagram for DetectorGraph::SubscriptionDispatcher< T >:

Public Member Functions

 SubscriptionDispatcher (Topic< T > *aTopic, SubscriberInterface< T > *aSubscriber)
 Constructor. More...
 
void Dispatch ()
 
VertexGetTopicVertex ()
 
- Public Member Functions inherited from DetectorGraph::SubscriptionDispatcherInterface
virtual ~SubscriptionDispatcherInterface ()
 

Detailed Description

template<class T>
class DetectorGraph::SubscriptionDispatcher< T >

Internal - Implements the data-out edge from a topic to one of its subscriber.

Topics aggregate data and provide functionality do dispatch data but does not embody the programmatic link between topic and subscriber - this class does that.

Definition at line 41 of file subscriptiondispatcher.hpp.

Constructor & Destructor Documentation

◆ SubscriptionDispatcher()

template<class T>
DetectorGraph::SubscriptionDispatcher< T >::SubscriptionDispatcher ( Topic< T > *  aTopic,
SubscriberInterface< T > *  aSubscriber 
)
inline

Constructor.

Parameters
aTopica specific topic this dispatcher manages
aSubscribera subscriber to consume the data

Definition at line 50 of file subscriptiondispatcher.hpp.

Member Function Documentation

◆ Dispatch()

template<class T>
void DetectorGraph::SubscriptionDispatcher< T >::Dispatch ( )
inlinevirtual

◆ GetTopicVertex()

template<class T>
Vertex* DetectorGraph::SubscriptionDispatcher< T >::GetTopicVertex ( )
inlinevirtual

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