Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

EventRouter::PostingStatus Class Reference

contains information regarding the progress of posting an event More...

#include <EventRouter.h>


Detailed Description

contains information regarding the progress of posting an event

This allows us to resume and complete the posting of the "current" event before processing a new incoming event

Definition at line 512 of file EventRouter.h.

List of all members.

Public Member Functions

 PostingStatus (const EventMapper &eventTrappers, const EventMapper &eventListeners, const EventBase &event)
 constructor
void process ()
 begins or resumes sending the event e to trappers and listeners in t and l

Protected Attributes

const EventMappertrappers
 the current trapper mapping, used to verify each entry in t is still valid before processing it
const EventMapperlisteners
 the current listener mapping, used to verify each entry in l is still valid before processing it
std::vector< EventTrapper * > t
 list of trappers which were subscribed when the PostingStatus instance was constructed
std::vector< EventTrapper * >
::const_iterator 
tit
 current position within t
std::vector< EventListener * > l
 list of listeners which were subscribed when the PostingStatus instance was constructed
std::vector< EventListener * >
::const_iterator 
lit
 current position within l
const EventBasee
 the event being processed

Constructor & Destructor Documentation

EventRouter::PostingStatus::PostingStatus ( const EventMapper eventTrappers,
const EventMapper eventListeners,
const EventBase event 
)

constructor

Definition at line 515 of file EventRouter.h.


Member Function Documentation

void EventRouter::PostingStatus::process (  ) 

begins or resumes sending the event e to trappers and listeners in t and l

Definition at line 540 of file EventRouter.cc.


Member Data Documentation

the event being processed

Definition at line 527 of file EventRouter.h.

Referenced by PostingStatus(), and process().

std::vector<EventListener*> EventRouter::PostingStatus::l [protected]

list of listeners which were subscribed when the PostingStatus instance was constructed

Definition at line 525 of file EventRouter.h.

Referenced by PostingStatus(), and process().

the current listener mapping, used to verify each entry in l is still valid before processing it

Definition at line 522 of file EventRouter.h.

Referenced by PostingStatus(), and process().

std::vector<EventListener*>::const_iterator EventRouter::PostingStatus::lit [protected]

current position within l

Definition at line 526 of file EventRouter.h.

Referenced by PostingStatus(), and process().

std::vector<EventTrapper*> EventRouter::PostingStatus::t [protected]

list of trappers which were subscribed when the PostingStatus instance was constructed

Definition at line 523 of file EventRouter.h.

Referenced by PostingStatus(), and process().

std::vector<EventTrapper*>::const_iterator EventRouter::PostingStatus::tit [protected]

current position within t

Definition at line 524 of file EventRouter.h.

Referenced by PostingStatus(), and process().

the current trapper mapping, used to verify each entry in t is still valid before processing it

Definition at line 521 of file EventRouter.h.

Referenced by PostingStatus(), and process().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:07 2016 by Doxygen 1.6.3