fesa::SubscriptionCycle Class Reference

#include <SubscriptionCycle.h>

List of all members.

Public Member Functions

 SubscriptionCycle ()
 ~SubscriptionCycle ()
void addCycle (const std::string &cycle)
void removeCycle (const std::string &cycle)
void matchContext (MultiplexingContext &ctxt, std::vector< std::string > &validCycles)
 this method fills the "validCycles" collection given by the caller with all the CycleSelector matching the given context.
void printDebugState (std::stringstream &str, int32_t tabNb)

Private Types

typedef std::map< std::string,
int32_t > 
CyclesMap
typedef CyclesMap::iterator CyclesItr

Private Attributes

CyclesMap cycles_

Detailed Description

Definition at line 21 of file SubscriptionCycle.h.


Member Typedef Documentation

typedef CyclesMap::iterator fesa::SubscriptionCycle::CyclesItr [private]

Definition at line 44 of file SubscriptionCycle.h.

typedef std::map<std::string, int32_t> fesa::SubscriptionCycle::CyclesMap [private]

Definition at line 43 of file SubscriptionCycle.h.


Constructor & Destructor Documentation

fesa::SubscriptionCycle::SubscriptionCycle (  ) 

Definition at line 11 of file SubscriptionCycle.cpp.

fesa::SubscriptionCycle::~SubscriptionCycle (  ) 

Definition at line 15 of file SubscriptionCycle.cpp.


Member Function Documentation

void fesa::SubscriptionCycle::addCycle ( const std::string &  cycle  ) 
void fesa::SubscriptionCycle::matchContext ( MultiplexingContext ctxt,
std::vector< std::string > &  validCycles 
)

this method fills the "validCycles" collection given by the caller with all the CycleSelector matching the given context.

Parameters:
ctxt The Multiplexing Context
validCycles will contain all the cycles matching the context as the result of this call

Definition at line 47 of file SubscriptionCycle.cpp.

References cycles_, and fesa::MultiplexingContext::match().

Referenced by fesa::SubscriptionTreeManager::notify(), and fesa::Notification::notify().

void fesa::SubscriptionCycle::printDebugState ( std::stringstream &  str,
int32_t  tabNb 
)
void fesa::SubscriptionCycle::removeCycle ( const std::string &  cycle  ) 

Member Data Documentation

Definition at line 45 of file SubscriptionCycle.h.

Referenced by addCycle(), matchContext(), printDebugState(), and removeCycle().


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

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1