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 416 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 419 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 310 of file EventRouter.cc.


Member Data Documentation

the event being processed

Definition at line 431 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 429 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 426 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 430 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 427 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 428 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 425 of file EventRouter.h.

Referenced by PostingStatus(), and process().


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

Tekkotsu v3.0
Generated Wed Oct 4 00:05:00 2006 by Doxygen 1.4.7