#include <statemap.h>
Classes | |
class | StateEntry |
Public Member Functions | |
void | clearState () |
void | emptyStateStack () |
virtual void | enterStartState ()=0 |
bool | getDebugFlag () |
State * | getPreviousState () |
int | getStateStackDepth () const |
char * | getTransition () |
bool | isInTransition () const |
bool | isStateStackEmpty () const |
FSMContext & | operator= (const FSMContext &fsm) |
void | popState () |
void | pushState (const State &state) |
int | same (const FSMContext &fsm) const |
void | setDebugFlag (bool flag) |
void | setState (const State &state) |
void | setTransition (const char *transition) |
virtual | ~FSMContext () |
Protected Member Functions | |
FSMContext (const State &state) | |
Protected Attributes | |
State * | _previous_state |
State * | _state |
StateEntry * | _state_stack |
char * | _transition |
Private Member Functions | |
FSMContext (const FSMContext &) | |
Private Attributes | |
bool | _debug_flag |
Definition at line 441 of file statemap.h.
virtual statemap::FSMContext::~FSMContext | ( | ) | [inline, virtual] |
Definition at line 499 of file statemap.h.
statemap::FSMContext::FSMContext | ( | const State & | state | ) | [inline, protected] |
Definition at line 735 of file statemap.h.
statemap::FSMContext::FSMContext | ( | const FSMContext & | ) | [inline, private] |
Definition at line 756 of file statemap.h.
void statemap::FSMContext::clearState | ( | ) | [inline] |
Definition at line 601 of file statemap.h.
void statemap::FSMContext::emptyStateStack | ( | ) | [inline] |
Definition at line 717 of file statemap.h.
virtual void statemap::FSMContext::enterStartState | ( | ) | [pure virtual] |
bool statemap::FSMContext::getDebugFlag | ( | ) | [inline] |
Definition at line 543 of file statemap.h.
State* statemap::FSMContext::getPreviousState | ( | ) | [inline] |
Definition at line 609 of file statemap.h.
int statemap::FSMContext::getStateStackDepth | ( | ) | const [inline] |
Definition at line 640 of file statemap.h.
char* statemap::FSMContext::getTransition | ( | ) | [inline] |
Definition at line 580 of file statemap.h.
bool statemap::FSMContext::isInTransition | ( | ) | const [inline] |
Definition at line 573 of file statemap.h.
bool statemap::FSMContext::isStateStackEmpty | ( | ) | const [inline] |
Definition at line 634 of file statemap.h.
FSMContext& statemap::FSMContext::operator= | ( | const FSMContext & | fsm | ) | [inline] |
Definition at line 520 of file statemap.h.
void statemap::FSMContext::popState | ( | ) | [inline] |
Definition at line 684 of file statemap.h.
void statemap::FSMContext::pushState | ( | const State & | state | ) | [inline] |
Definition at line 655 of file statemap.h.
int statemap::FSMContext::same | ( | const FSMContext & | fsm | ) | const [inline] |
Definition at line 537 of file statemap.h.
void statemap::FSMContext::setDebugFlag | ( | bool | flag | ) | [inline] |
Definition at line 550 of file statemap.h.
void statemap::FSMContext::setState | ( | const State & | state | ) | [inline] |
Definition at line 615 of file statemap.h.
void statemap::FSMContext::setTransition | ( | const char * | transition | ) | [inline] |
Definition at line 587 of file statemap.h.
bool statemap::FSMContext::_debug_flag [private] |
Definition at line 780 of file statemap.h.
State* statemap::FSMContext::_previous_state [protected] |
Definition at line 768 of file statemap.h.
State* statemap::FSMContext::_state [protected] |
Definition at line 757 of file statemap.h.
StateEntry* statemap::FSMContext::_state_stack [protected] |
Definition at line 771 of file statemap.h.
char* statemap::FSMContext::_transition [protected] |
Definition at line 775 of file statemap.h.