15 #ifndef DETECTORGRAPH_INCLUDE_SUBSCRIPTIONDISPATCHERCONTAINER_STL_HPP_ 16 #define DETECTORGRAPH_INCLUDE_SUBSCRIPTIONDISPATCHERCONTAINER_STL_HPP_ 31 class SubscriptionDispatchersContainer
34 template<
class TTopicState>
38 mInDispatchers.push_back(dispacher);
43 return mInDispatchers;
48 return mInDispatchers.size();
53 for (
unsigned i = 0; i !=
GetSize(); ++i)
59 std::vector<SubscriptionDispatcherInterface*> mInDispatchers;
64 #endif // DETECTORGRAPH_INCLUDE_SUBSCRIPTIONDISPATCHERCONTAINER_STL_HPP_
~SubscriptionDispatchersContainer()
const std::vector< SubscriptionDispatcherInterface * > & GetDispatchers() const
SubscriptionDispatcherInterface *const (& GetDispatchers() const)[DetectorGraphConfig::kMaxNumberOfInEdges]
Manage data and its handler.
Internal - Implements the data-out edge from a topic to one of its subscriber.
Internal - Provide interface for a SubscriptionDispatcher
void CreateDispatcher(Topic< TTopicState > *topic, SubscriberInterface< TTopicState > *subscriber)
A Pure interface that declares the Subscriber behavior.
const size_t GetSize() const