Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

EventTrans Class Reference

causes a transition when the specified event is received More...

#include <EventTrans.h>

Inheritance diagram for EventTrans:

Detailed Description

causes a transition when the specified event is received

Definition at line 10 of file EventTrans.h.

List of all members.

Public Member Functions

virtual void preStart ()
 starts listening
virtual void doEvent ()
 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, size_t sid)
 EventTrans (StateNode *destination, EventBase::EventGeneratorID_t gid, unsigned int *sidAddr)
 EventTrans (StateNode *destination, EventBase::EventGeneratorID_t gid, size_t sid, EventBase::EventTypeID_t tid)
 EventTrans (StateNode *destination, EventBase::EventGeneratorID_t gid, unsigned int *sidAddr, 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, size_t sid)
 EventTrans (const std::string &name, StateNode *destination, EventBase::EventGeneratorID_t gid, unsigned int *sidAddr)
 EventTrans (const std::string &name, StateNode *destination, EventBase::EventGeneratorID_t gid, size_t sid, EventBase::EventTypeID_t tid)
 EventTrans (const std::string &name, StateNode *destination, EventBase::EventGeneratorID_t gid, unsigned int *sidAddr, EventBase::EventTypeID_t tid)

Private Member Functions

 EventTrans (const EventTrans &)
 do not call
EventTransoperator= (const EventTrans &)
 do not call

Private Attributes

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

Constructor & Destructor Documentation

EventTrans::EventTrans ( StateNode destination,
EventBase::EventGeneratorID_t  gid 
)

Definition at line 21 of file EventTrans.h.

EventTrans::EventTrans ( StateNode destination,
EventBase::EventGeneratorID_t  gid,
size_t  sid 
)

Definition at line 25 of file EventTrans.h.

EventTrans::EventTrans ( StateNode destination,
EventBase::EventGeneratorID_t  gid,
unsigned int *  sidAddr 
)

Definition at line 29 of file EventTrans.h.

EventTrans::EventTrans ( StateNode destination,
EventBase::EventGeneratorID_t  gid,
size_t  sid,
EventBase::EventTypeID_t  tid 
)

Definition at line 33 of file EventTrans.h.

EventTrans::EventTrans ( StateNode destination,
EventBase::EventGeneratorID_t  gid,
unsigned int *  sidAddr,
EventBase::EventTypeID_t  tid 
)

Definition at line 37 of file EventTrans.h.

EventTrans::EventTrans ( const std::string &  name,
StateNode destination,
EventBase::EventGeneratorID_t  gid 
)

Definition at line 41 of file EventTrans.h.

EventTrans::EventTrans ( const std::string &  name,
StateNode destination,
EventBase::EventGeneratorID_t  gid,
size_t  sid 
)

Definition at line 45 of file EventTrans.h.

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

Definition at line 49 of file EventTrans.h.

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

Definition at line 53 of file EventTrans.h.

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

Definition at line 57 of file EventTrans.h.

EventTrans::EventTrans ( const EventTrans  )  [private]

do not call


Member Function Documentation

virtual void EventTrans::doEvent (  )  [virtual]

fire the transition if an event is seen

Reimplemented from BehaviorBase.

Definition at line 77 of file EventTrans.h.

EventTrans& EventTrans::operator= ( const EventTrans  )  [private]

do not call

virtual void EventTrans::preStart (  )  [virtual]

starts listening

Reimplemented from BehaviorBase.

Definition at line 63 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 doEvent(), and preStart().

the requested generator

Definition at line 13 of file EventTrans.h.

Referenced by preStart().

size_t EventTrans::esid [private]

the requested source

Definition at line 14 of file EventTrans.h.

Referenced by preStart().

unsigned int* EventTrans::esidAddr [private]

Definition at line 15 of file EventTrans.h.

Referenced by doEvent(), and preStart().

the requested type

Definition at line 16 of file EventTrans.h.

Referenced by doEvent(), and preStart().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:07 2016 by Doxygen 1.6.3