m2etis  0.4
m2etis::pubsub::filter::DecisionTreeLeaf< EventType, NetworkType > Class Template Reference

#include <DecisionTreeLeaf.h>

Inheritance diagram for m2etis::pubsub::filter::DecisionTreeLeaf< EventType, NetworkType >:
Inheritance graph

Public Member Functions

 DecisionTreeLeaf ()=default
 
 DecisionTreeLeaf (const typename NetworkType::Key &subscriber)
 
virtual void visit (const EventType &, std::set< typename NetworkType::Key > &matching_subscribers) override
 
virtual void merge (boost::shared_ptr< DecisionTreeNode< EventType, NetworkType >> &, typename NetworkType::Key subscriber) override
 
virtual void changeSubscriber (typename NetworkType::Key subscriber) override
 
virtual void addSubscriber (const typename NetworkType::Key &subscriber) override
 
virtual void removeSubscriber (const typename NetworkType::Key &subscriber) override
 
virtual bool hasSubscriber () override
 
virtual bool hasSubscription (typename NetworkType::Key subscriber) override
 
virtual operator std::string () const
 
virtual ~DecisionTreeLeaf ()
 
- Public Member Functions inherited from m2etis::pubsub::filter::DecisionTreeNode< EventType, NetworkType >
virtual ~DecisionTreeNode ()
 
virtual void merge (boost::shared_ptr< DecisionTreeNode< EventType, NetworkType > > &other_tree, typename NetworkType::Key subscriber)=0
 
template<typename Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 

Detailed Description

template<typename EventType, typename NetworkType>
class m2etis::pubsub::filter::DecisionTreeLeaf< EventType, NetworkType >

Definition at line 35 of file DecisionTreeLeaf.h.

Constructor & Destructor Documentation

template<typename EventType , typename NetworkType >
m2etis::pubsub::filter::DecisionTreeLeaf< EventType, NetworkType >::DecisionTreeLeaf ( )
default
template<typename EventType , typename NetworkType >
m2etis::pubsub::filter::DecisionTreeLeaf< EventType, NetworkType >::DecisionTreeLeaf ( const typename NetworkType::Key &  subscriber)
inlineexplicit

Definition at line 39 of file DecisionTreeLeaf.h.

Here is the call graph for this function:

template<typename EventType , typename NetworkType >
virtual m2etis::pubsub::filter::DecisionTreeLeaf< EventType, NetworkType >::~DecisionTreeLeaf ( )
inlinevirtual

Definition at line 88 of file DecisionTreeLeaf.h.

Member Function Documentation

template<typename EventType , typename NetworkType >
virtual void m2etis::pubsub::filter::DecisionTreeLeaf< EventType, NetworkType >::addSubscriber ( const typename NetworkType::Key &  subscriber)
inlineoverridevirtual

Reimplemented from m2etis::pubsub::filter::DecisionTreeNode< EventType, NetworkType >.

Definition at line 59 of file DecisionTreeLeaf.h.

Here is the caller graph for this function:

template<typename EventType , typename NetworkType >
virtual void m2etis::pubsub::filter::DecisionTreeLeaf< EventType, NetworkType >::changeSubscriber ( typename NetworkType::Key  subscriber)
inlineoverridevirtual

Implements m2etis::pubsub::filter::DecisionTreeNode< EventType, NetworkType >.

Definition at line 53 of file DecisionTreeLeaf.h.

Here is the caller graph for this function:

template<typename EventType , typename NetworkType >
virtual bool m2etis::pubsub::filter::DecisionTreeLeaf< EventType, NetworkType >::hasSubscriber ( )
inlineoverridevirtual
template<typename EventType , typename NetworkType >
virtual bool m2etis::pubsub::filter::DecisionTreeLeaf< EventType, NetworkType >::hasSubscription ( typename NetworkType::Key  subscriber)
inlineoverridevirtual
template<typename EventType , typename NetworkType >
virtual void m2etis::pubsub::filter::DecisionTreeLeaf< EventType, NetworkType >::merge ( boost::shared_ptr< DecisionTreeNode< EventType, NetworkType >> &  ,
typename NetworkType::Key  subscriber 
)
inlineoverridevirtual

Definition at line 49 of file DecisionTreeLeaf.h.

Here is the call graph for this function:

template<typename EventType , typename NetworkType >
virtual m2etis::pubsub::filter::DecisionTreeLeaf< EventType, NetworkType >::operator std::string ( ) const
inlinevirtual
template<typename EventType , typename NetworkType >
virtual void m2etis::pubsub::filter::DecisionTreeLeaf< EventType, NetworkType >::removeSubscriber ( const typename NetworkType::Key &  subscriber)
inlineoverridevirtual
template<typename EventType , typename NetworkType >
virtual void m2etis::pubsub::filter::DecisionTreeLeaf< EventType, NetworkType >::visit ( const EventType &  ,
std::set< typename NetworkType::Key > &  matching_subscribers 
)
inlineoverridevirtual

Friends And Related Function Documentation

template<typename EventType , typename NetworkType >
friend class boost::serialization::access
friend

Definition at line 93 of file DecisionTreeLeaf.h.


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