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

 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)
virtual void DoStart ()
 starts listening
virtual void DoStop ()
 stops listening
virtual void processEvent (const EventBase &)
 fire the transition if an event is seen
virtual std::string getName () const
 Identifies the behavior in menus and such.

Private Attributes

int argcount
EventBase::EventGeneratorID_t egid
unsigned int esid
EventBase::EventTypeID_t etid


Constructor & Destructor Documentation

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

Definition at line 18 of file EventTrans.h.

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

Definition at line 21 of file EventTrans.h.

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

Definition at line 24 of file EventTrans.h.


Member Function Documentation

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

starts listening

Reimplemented from BehaviorBase.

Definition at line 29 of file EventTrans.h.

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

stops listening

Reimplemented from BehaviorBase.

Definition at line 39 of file EventTrans.h.

virtual std::string EventTrans::getName  )  const [inline, virtual]
 

Identifies the behavior in menus and such.

Implements BehaviorBase.

Definition at line 47 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 45 of file EventTrans.h.


Member Data Documentation

int EventTrans::argcount [private]
 

Definition at line 12 of file EventTrans.h.

Referenced by EventTrans().

EventBase::EventGeneratorID_t EventTrans::egid [private]
 

Definition at line 13 of file EventTrans.h.

Referenced by DoStart(), and EventTrans().

unsigned int EventTrans::esid [private]
 

Definition at line 14 of file EventTrans.h.

Referenced by DoStart(), and EventTrans().

EventBase::EventTypeID_t EventTrans::etid [private]
 

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
Generated Tue Oct 19 14:20:17 2004 by Doxygen 1.3.9.1