Abstract class for events used as StateMachine triggers to transition between states. Events must be explicitly tied to a current State and state to transition to once the event has been triggered. This is done using a Transition
object in a designed StateMachine.
More...
#include <Event.h>
|
| Event (StateMachine *p, const char n[]=NULL) |
|
virtual bool | check (void)=0 |
| Virtual check function Must be implemented for each event. The check function is called each event loop to determine if a transition has been triggered from the current state to the transition defined next state. More...
|
|
const char * | getName (void) |
|
Abstract class for events used as StateMachine triggers to transition between states. Events must be explicitly tied to a current State and state to transition to once the event has been triggered. This is done using a Transition
object in a designed StateMachine.
Definition at line 23 of file Event.h.
virtual bool Event::check |
( |
void |
| ) |
|
|
pure virtual |
Virtual check function Must be implemented for each event. The check function is called each event loop to determine if a transition has been triggered from the current state to the transition defined next state.
const char * Event::getName |
( |
void |
| ) |
|
The documentation for this class was generated from the following files: