Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

EventRouter::PostingStatus Class Reference

#include <EventRouter.h>

List of all members.


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 494 of file EventRouter.h.


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 
) [inline]

constructor

Definition at line 497 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 500 of file EventRouter.cc.


Member Data Documentation

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

Definition at line 503 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 504 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 505 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 506 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 507 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 508 of file EventRouter.h.

Referenced by PostingStatus(), and process().

the event being processed

Definition at line 509 of file EventRouter.h.

Referenced by PostingStatus(), and process().


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:20 2007 by Doxygen 1.5.4