DetectorGraph  2.0
Public Member Functions | List of all members
DetectorGraph::SubscriptionDispatchersContainer Class Reference

Internal - Manages a fixed number of SubscriptionDispatchers. More...

Collaboration diagram for DetectorGraph::SubscriptionDispatchersContainer:

Public Member Functions

 SubscriptionDispatchersContainer ()
 
template<class TTopicState >
void CreateDispatcher (Topic< TTopicState > *topic, SubscriberInterface< TTopicState > *subscriber)
 
SubscriptionDispatcherInterface *const (& GetDispatchers () const)[DetectorGraphConfig::kMaxNumberOfInEdges]
 
const size_t GetSize () const
 
 ~SubscriptionDispatchersContainer ()
 
template<class TTopicState >
void CreateDispatcher (Topic< TTopicState > *topic, SubscriberInterface< TTopicState > *subscriber)
 
const std::vector< SubscriptionDispatcherInterface * > & GetDispatchers () const
 
const size_t GetSize () const
 
 ~SubscriptionDispatchersContainer ()
 

Detailed Description

Internal - Manages a fixed number of SubscriptionDispatchers.

Internal - Manages any number of SubscriptionDispatchers.

This class is responsible for creating and owning SubscriptionDispatcher for a particular detector. A detector that subscribes to two Topics will have two SubscriptionDispatchers.

This is a STL-less & heap-less implementation of the same as: subscriptiondispatcherscontainer-stl.hpp

This class is responsible for creating and owning SubscriptionDispatcher for a particular detector. A detector that subscribes to two Topics will have two SubscriptionDispatchers.

Definition at line 36 of file subscriptiondispatcherscontainer-lite.hpp.

Constructor & Destructor Documentation

◆ SubscriptionDispatchersContainer()

DetectorGraph::SubscriptionDispatchersContainer::SubscriptionDispatchersContainer ( )
inline

Definition at line 40 of file subscriptiondispatcherscontainer-lite.hpp.

◆ ~SubscriptionDispatchersContainer() [1/2]

DetectorGraph::SubscriptionDispatchersContainer::~SubscriptionDispatchersContainer ( )
inline

Definition at line 79 of file subscriptiondispatcherscontainer-lite.hpp.

◆ ~SubscriptionDispatchersContainer() [2/2]

DetectorGraph::SubscriptionDispatchersContainer::~SubscriptionDispatchersContainer ( )
inline

Definition at line 51 of file subscriptiondispatcherscontainer-stl.hpp.

Member Function Documentation

◆ CreateDispatcher() [1/2]

template<class TTopicState >
void DetectorGraph::SubscriptionDispatchersContainer::CreateDispatcher ( Topic< TTopicState > *  topic,
SubscriberInterface< TTopicState > *  subscriber 
)
inline

Definition at line 35 of file subscriptiondispatcherscontainer-stl.hpp.

◆ CreateDispatcher() [2/2]

template<class TTopicState >
void DetectorGraph::SubscriptionDispatchersContainer::CreateDispatcher ( Topic< TTopicState > *  topic,
SubscriberInterface< TTopicState > *  subscriber 
)
inline

Definition at line 49 of file subscriptiondispatcherscontainer-lite.hpp.

◆ GetDispatchers() [1/2]

const std::vector<SubscriptionDispatcherInterface*>& DetectorGraph::SubscriptionDispatchersContainer::GetDispatchers ( ) const
inline

Definition at line 41 of file subscriptiondispatcherscontainer-stl.hpp.

◆ GetDispatchers() [2/2]

SubscriptionDispatcherInterface* const(& DetectorGraph::SubscriptionDispatchersContainer::GetDispatchers ( ) )[DetectorGraphConfig::kMaxNumberOfInEdges]
inline

Definition at line 69 of file subscriptiondispatcherscontainer-lite.hpp.

◆ GetSize() [1/2]

const size_t DetectorGraph::SubscriptionDispatchersContainer::GetSize ( ) const
inline

Definition at line 46 of file subscriptiondispatcherscontainer-stl.hpp.

◆ GetSize() [2/2]

const size_t DetectorGraph::SubscriptionDispatchersContainer::GetSize ( ) const
inline

Definition at line 74 of file subscriptiondispatcherscontainer-lite.hpp.


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