Homepage Demos Overview Downloads Tutorials Reference
Credits

EventTrans Class Reference

#include <EventTrans.h>

Inheritance diagram for EventTrans:

Inheritance graph
[legend]
List of all members.

Detailed Description

causes a transition when the specified event is received

Definition at line 10 of file EventTrans.h.

Public Member Functions

virtual void DoStart ()
 starts listening
virtual void DoStop ()
 stops listening
virtual void processEvent (const EventBase &)
 fire the transition if an event is seen
Constructors
follows general pattern of EventRouter::addListener()

 EventTrans (StateNode *destination, EventBase::EventGeneratorID_t gid)
 EventTrans (StateNode *destination, EventBase::EventGeneratorID_t gid, unsigned int sid)
 EventTrans (StateNode *destination, EventBase::EventGeneratorID_t gid, unsigned int sid, EventBase::EventTypeID_t tid)
 EventTrans (const std::string &name, StateNode *destination, EventBase::EventGeneratorID_t gid)
 EventTrans (const std::string &name, StateNode *destination, EventBase::EventGeneratorID_t gid, unsigned int sid)
 EventTrans (const std::string &name, StateNode *destination, EventBase::EventGeneratorID_t gid, unsigned int sid, EventBase::EventTypeID_t tid)

Private Attributes

int argcount
 the number of arguments which were supplied to the constructor (granularity of filtering)
EventBase::EventGeneratorID_t egid
 the requested generator
unsigned int esid
 the requested source
EventBase::EventTypeID_t etid
 the requested type


Constructor & Destructor Documentation

EventTrans::EventTrans StateNode destination,
EventBase::EventGeneratorID_t  gid
[inline]
 

Definition at line 20 of file EventTrans.h.

EventTrans::EventTrans StateNode destination,
EventBase::EventGeneratorID_t  gid,
unsigned int  sid
[inline]
 

Definition at line 24 of file EventTrans.h.

EventTrans::EventTrans StateNode destination,
EventBase::EventGeneratorID_t  gid,
unsigned int  sid,
EventBase::EventTypeID_t  tid
[inline]
 

Definition at line 28 of file EventTrans.h.

EventTrans::EventTrans const std::string &  name,
StateNode destination,
EventBase::EventGeneratorID_t  gid
[inline]
 

Definition at line 32 of file EventTrans.h.

EventTrans::EventTrans const std::string &  name,
StateNode destination,
EventBase::EventGeneratorID_t  gid,
unsigned int  sid
[inline]
 

Definition at line 36 of file EventTrans.h.

EventTrans::EventTrans const std::string &  name,
StateNode destination,
EventBase::EventGeneratorID_t  gid,
unsigned int  sid,
EventBase::EventTypeID_t  tid
[inline]
 

Definition at line 40 of file EventTrans.h.


Member Function Documentation

virtual void EventTrans::DoStart  )  [inline, virtual]
 

starts listening

Reimplemented from BehaviorBase.

Definition at line 46 of file EventTrans.h.

virtual void EventTrans::DoStop  )  [inline, virtual]
 

stops listening

Reimplemented from BehaviorBase.

Definition at line 56 of file EventTrans.h.

virtual void EventTrans::processEvent const EventBase  )  [inline, virtual]
 

fire the transition if an event is seen

Reimplemented from BehaviorBase.

Definition at line 62 of file EventTrans.h.


Member Data Documentation

int EventTrans::argcount [private]
 

the number of arguments which were supplied to the constructor (granularity of filtering)

Definition at line 12 of file EventTrans.h.

Referenced by DoStart(), and EventTrans().

EventBase::EventGeneratorID_t EventTrans::egid [private]
 

the requested generator

Definition at line 13 of file EventTrans.h.

Referenced by DoStart(), and EventTrans().

unsigned int EventTrans::esid [private]
 

the requested source

Definition at line 14 of file EventTrans.h.

Referenced by DoStart(), and EventTrans().

EventBase::EventTypeID_t EventTrans::etid [private]
 

the requested type

Definition at line 15 of file EventTrans.h.

Referenced by DoStart(), and EventTrans().


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

Tekkotsu v2.2.2
Generated Tue Jan 4 15:45:24 2005 by Doxygen 1.4.0