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

#include <AttributeDecisionTreeNode.h>

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

Public Member Functions

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

Friends

class DecisionTreePreProcessVisitor< EventType, NetworkType >
 
class AttributeTypeInformation< EventType, NetworkType >
 
class boost::serialization::access
 

Detailed Description

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

Definition at line 45 of file AttributeDecisionTreeNode.h.

Constructor & Destructor Documentation

template<typename EventType, typename NetworkType, typename AttributeType>
m2etis::pubsub::filter::AttributeDecisionTreeNode< EventType, NetworkType, AttributeType >::AttributeDecisionTreeNode ( AttributeName  attribute_id)
inlineexplicit

Definition at line 47 of file AttributeDecisionTreeNode.h.

template<typename EventType, typename NetworkType, typename AttributeType>
m2etis::pubsub::filter::AttributeDecisionTreeNode< EventType, NetworkType, AttributeType >::AttributeDecisionTreeNode ( )
inline

Definition at line 49 of file AttributeDecisionTreeNode.h.

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

Definition at line 147 of file AttributeDecisionTreeNode.h.

Member Function Documentation

template<typename EventType, typename NetworkType, typename AttributeType>
virtual void m2etis::pubsub::filter::AttributeDecisionTreeNode< EventType, NetworkType, AttributeType >::changeSubscriber ( typename NetworkType::Key  subscriber)
inlineoverridevirtual
template<typename EventType, typename NetworkType, typename AttributeType>
virtual bool m2etis::pubsub::filter::AttributeDecisionTreeNode< EventType, NetworkType, AttributeType >::hasSubscription ( typename NetworkType::Key  subscriber)
inlineoverridevirtual
template<typename EventType, typename NetworkType, typename AttributeType>
virtual void m2etis::pubsub::filter::AttributeDecisionTreeNode< EventType, NetworkType, AttributeType >::merge ( boost::shared_ptr< DecisionTreeNode< EventType, NetworkType > > &  other_tree,
typename NetworkType::Key  subscriber 
)
inlineoverridevirtual
template<typename EventType, typename NetworkType, typename AttributeType>
virtual m2etis::pubsub::filter::AttributeDecisionTreeNode< EventType, NetworkType, AttributeType >::operator std::string ( ) const
inlinevirtual
template<typename EventType, typename NetworkType, typename AttributeType>
virtual void m2etis::pubsub::filter::AttributeDecisionTreeNode< EventType, NetworkType, AttributeType >::removeSubscriber ( const typename NetworkType::Key &  subscriber)
inlineoverridevirtual
template<typename EventType, typename NetworkType, typename AttributeType>
virtual void m2etis::pubsub::filter::AttributeDecisionTreeNode< EventType, NetworkType, AttributeType >::visit ( const EventType &  event,
std::set< typename NetworkType::Key > &  matching_subscribers 
)
inlineoverridevirtual

Friends And Related Function Documentation

template<typename EventType, typename NetworkType, typename AttributeType>
friend class AttributeTypeInformation< EventType, NetworkType >
friend

Definition at line 151 of file AttributeDecisionTreeNode.h.

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

Definition at line 163 of file AttributeDecisionTreeNode.h.

template<typename EventType, typename NetworkType, typename AttributeType>
friend class DecisionTreePreProcessVisitor< EventType, NetworkType >
friend

Definition at line 150 of file AttributeDecisionTreeNode.h.


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