Homepage Demos Overview Downloads Tutorials Reference
Credits

EventRouter.h File Reference


Detailed Description

Describes EventRouter class, for distribution and trapping of events to listeners.

Author:
ejt (Creator)
Author
ejt
Name
tekkotsu-2_1
Revision
1.13
State
Exp
Date
2004/01/18 10:16:57

Definition in file EventRouter.h.

#include <vector>
#include <list>
#include <map>
#include <algorithm>
#include "EventListener.h"
#include "EventTrapper.h"
#include "Shared/get_time.h"
#include "Shared/debuget.h"
#include <iostream>

Include dependency graph for EventRouter.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  EventRouter
 This class will handle distribution of events as well as management of timers. More...

class  EventRouter::EventMapper
 Does the actual storage of the mapping between EventBase's and the EventListeners/EventTrappers who should receive them. More...

struct  EventRouter::TimerEntry
 Contains all the information needed to maintain a timer by the EventRouter. More...

class  EventRouter::TimerEntryPtrCmp
 Used by STL to sort the timer list in order of activation time. More...


Variables

EventRoutererouter
 a global router for cross communication, probably the most common usage, although perhaps there may be times you'd rather have multiple event routers for smaller sections


Variable Documentation

EventRouter* erouter
 

a global router for cross communication, probably the most common usage, although perhaps there may be times you'd rather have multiple event routers for smaller sections

Definition at line 259 of file EventRouter.h.

Referenced by BatteryCheckControl::activate(), Controller::activate(), ValueEditControl< T >::activate(), WalkCalibration::activate(), WMitem< T >::announce(), Controller::console_callback(), BallDetectionGenerator::createEvent(), BatteryCheckControl::deactivate(), Controller::deactivate(), LoadPostureControl::deactivate(), WalkCalibration::deactivate(), MMCombo::DoDestroy(), SoundPlay::DoDestroy(), MMCombo::DoInit(), SoundPlay::DoInit(), EventLogger::doSelect(), SensorObserverControl::doSelect(), AlanBehavior::DoStart(), AutoGetupBehavior::DoStart(), BanditMachine::WaitNode::DoStart(), BatteryMonitorBehavior::DoStart(), CameraBehavior::DoStart(), ChaseBallBehavior::DoStart(), CompareTrans< T >::DoStart(), Controller::DoStart(), DriveMeBehavior::DoStart(), EStopControllerBehavior::DoStart(), EventGeneratorBase::DoStart(), ExploreMachine::DoStart(), FollowHeadBehavior::DoStart(), HeadLevelBehavior::DoStart(), HeadPointControllerBehavior::DoStart(), MCRepeater::DoStart(), MMCombo::DoStart(), PlayMotionSequenceNode< SIZE >::DoStart(), RawCamBehavior::DoStart(), SegCamBehavior::DoStart(), SimpleChaseBallBehavior::DoStart(), SoundTestBehavior::DoStart(), StareAtBallBehavior::DoStart(), StartupBehavior::DoStart(), StateNode::DoStart(), VisualTargetCloseTrans::DoStart(), VisualTargetTrans::DoStart(), WalkControllerBehavior::DoStart(), WalkToTargetMachine::DoStart(), WMMonitorBehavior::DoStart(), WorldStateSerializerBehavior::DoStart(), WorldStateVelDaemon::DoStart(), AlanBehavior::DoStop(), AutoGetupBehavior::DoStop(), BanditMachine::WaitNode::DoStop(), BatteryMonitorBehavior::DoStop(), CameraBehavior::DoStop(), ChaseBallBehavior::DoStop(), CompareTrans< T >::DoStop(), Controller::DoStop(), DriveMeBehavior::DoStop(), EStopControllerBehavior::DoStop(), EventGeneratorBase::DoStop(), ExploreMachine::DoStop(), FollowHeadBehavior::DoStop(), FreeMemReportControl::DoStop(), HeadLevelBehavior::DoStop(), HeadPointControllerBehavior::DoStop(), MCRepeater::DoStop(), PlayMotionSequenceNode< SIZE >::DoStop(), RawCamBehavior::DoStop(), SegCamBehavior::DoStop(), SimpleChaseBallBehavior::DoStop(), SoundTestBehavior::DoStop(), StareAtBallBehavior::DoStop(), StateNode::DoStop(), TimeOutTrans::DoStop(), VisualTargetCloseTrans::DoStop(), VisualTargetTrans::DoStop(), WalkControllerBehavior::DoStop(), WalkToTargetMachine::DoStop(), WMMonitorBehavior::DoStop(), WorldStateSerializerBehavior::DoStop(), WorldStateVelDaemon::DoStop(), SoundManager::endPlay(), MMCombo::GotEventTranslatorQueue(), SoundPlay::GotEventTranslatorQueue(), MMCombo::GotImage(), MMCombo::GotPowerEvent(), MMCombo::GotSensorFrame(), BatteryCheckControl::pause(), ValueEditControl< T >::pause(), SoundManager::Play(), AlanBehavior::processEvent(), AutoGetupBehavior::processEvent(), BallDetectionGenerator::processEvent(), BanditMachine::WaitNode::processEvent(), BatteryMonitorBehavior::processEvent(), CDTGenerator::processEvent(), DriveMeBehavior::processEvent(), FollowHeadBehavior::processEvent(), InterleavedYUVGenerator::processEvent(), JPEGGenerator::processEvent(), LoadPostureControl::processEvent(), MCRepeater::processEvent(), RawCameraGenerator::processEvent(), RegionGenerator::processEvent(), RLEGenerator::processEvent(), RunSequenceControl< SequenceSize >::processEvent(), SegmentedColorGenerator::processEvent(), StartupBehavior::processEvent(), WorldStateVelDaemon::processEvent(), MotionManager::receivedMsg(), SoundManager::ReceivedMsg(), MotionManager::removeMotion(), TimeOutTrans::resetTimer(), FreeMemReportControl::resetTimerFreq(), MMCombo::RPOPENR_notify(), HeadPointControllerBehavior::runCommand(), WalkControllerBehavior::runCommand(), LoadPostureControl::selectedFile(), RunSequenceControl< SequenceSize >::selectedFile(), EventTranslator::sendEvent(), BatteryMonitorBehavior::startWarning(), SoundManager::StopPlay(), BatteryMonitorBehavior::stopWarning(), Controller::takeLine(), WMitem_base::unwatch(), and WMitem_base::watch().


Tekkotsu v2.1
Generated Tue Mar 16 23:20:00 2004 by Doxygen 1.3.5