m2etis  0.4
m2etis::pubsub::Tree< ChannelType, NetworkType, EventType > Class Template Reference

Tree. More...

#include <Tree.h>

Inheritance diagram for m2etis::pubsub::Tree< ChannelType, NetworkType, EventType >:
Inheritance graph

Public Member Functions

 Tree (uint16_t tree_name, const typename NetworkType::Key &self, const typename NetworkType::Key &rendezvous, const typename NetworkType::Key &root, PubSubSystemEnvironment *pssi, int cI)
 Constructor. More...
 
virtual ~Tree ()
 
NetworkType::Key getSelf () const
 
NetworkType::Key getRoot () const
 
unsigned short getChannel () const
 
uint16_t getTopic () const
 
void subscribe (BasicDeliverCallbackInterface< EventType > &callback, boost::shared_ptr< filter::FilterExp< EventType > > predicate)
 
void publish (const typename message::M2Message< EventType >::Ptr msg)
 
void unsubscribe ()
 
void unsubscribe (boost::shared_ptr< filter::FilterExp< EventType > > predicate)
 

Detailed Description

template<class ChannelType, class NetworkType, class EventType>
class m2etis::pubsub::Tree< ChannelType, NetworkType, EventType >

Tree.

Long Desc

Definition at line 53 of file Tree.h.

Constructor & Destructor Documentation

template<class ChannelType, class NetworkType, class EventType>
m2etis::pubsub::Tree< ChannelType, NetworkType, EventType >::Tree ( uint16_t  tree_name,
const typename NetworkType::Key &  self,
const typename NetworkType::Key &  rendezvous,
const typename NetworkType::Key &  root,
PubSubSystemEnvironment pssi,
int  cI 
)
inline

Constructor.

Definition at line 72 of file Tree.h.

Here is the call graph for this function:

template<class ChannelType, class NetworkType, class EventType>
virtual m2etis::pubsub::Tree< ChannelType, NetworkType, EventType >::~Tree ( )
inlinevirtual

Definition at line 89 of file Tree.h.

Here is the call graph for this function:

Member Function Documentation

template<class ChannelType, class NetworkType, class EventType>
unsigned short m2etis::pubsub::Tree< ChannelType, NetworkType, EventType >::getChannel ( ) const
inline

Definition at line 106 of file Tree.h.

template<class ChannelType, class NetworkType, class EventType>
NetworkType::Key m2etis::pubsub::Tree< ChannelType, NetworkType, EventType >::getRoot ( ) const
inline

Definition at line 102 of file Tree.h.

template<class ChannelType, class NetworkType, class EventType>
NetworkType::Key m2etis::pubsub::Tree< ChannelType, NetworkType, EventType >::getSelf ( ) const
inline

Definition at line 98 of file Tree.h.

Here is the call graph for this function:

template<class ChannelType, class NetworkType, class EventType>
uint16_t m2etis::pubsub::Tree< ChannelType, NetworkType, EventType >::getTopic ( ) const
inline

Definition at line 110 of file Tree.h.

template<class ChannelType, class NetworkType, class EventType>
void m2etis::pubsub::Tree< ChannelType, NetworkType, EventType >::publish ( const typename message::M2Message< EventType >::Ptr  msg)
inline

Definition at line 118 of file Tree.h.

template<class ChannelType, class NetworkType, class EventType>
void m2etis::pubsub::Tree< ChannelType, NetworkType, EventType >::subscribe ( BasicDeliverCallbackInterface< EventType > &  callback,
boost::shared_ptr< filter::FilterExp< EventType > >  predicate 
)
inline

Definition at line 114 of file Tree.h.

template<class ChannelType, class NetworkType, class EventType>
void m2etis::pubsub::Tree< ChannelType, NetworkType, EventType >::unsubscribe ( )
inline

Definition at line 127 of file Tree.h.

Here is the call graph for this function:

template<class ChannelType, class NetworkType, class EventType>
void m2etis::pubsub::Tree< ChannelType, NetworkType, EventType >::unsubscribe ( boost::shared_ptr< filter::FilterExp< EventType > >  predicate)
inline

Definition at line 140 of file Tree.h.


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