#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 456 of file statemap.h.
virtual statemap::FSMContext::~FSMContext | ( | ) | [inline, virtual] |
Definition at line 517 of file statemap.h.
statemap::FSMContext::FSMContext | ( | const State & | state | ) | [inline, protected] |
Definition at line 754 of file statemap.h.
statemap::FSMContext::FSMContext | ( | const FSMContext & | ) | [inline, private] |
Definition at line 776 of file statemap.h.
void statemap::FSMContext::clearState | ( | ) | [inline] |
Definition at line 619 of file statemap.h.
void statemap::FSMContext::emptyStateStack | ( | ) | [inline] |
Definition at line 735 of file statemap.h.
virtual void statemap::FSMContext::enterStartState | ( | ) | [pure virtual] |
bool statemap::FSMContext::getDebugFlag | ( | ) | [inline] |
Definition at line 561 of file statemap.h.
State* statemap::FSMContext::getPreviousState | ( | ) | [inline] |
Definition at line 627 of file statemap.h.
int statemap::FSMContext::getStateStackDepth | ( | ) | const [inline] |
Definition at line 658 of file statemap.h.
char* statemap::FSMContext::getTransition | ( | ) | [inline] |
Definition at line 598 of file statemap.h.
bool statemap::FSMContext::isInTransition | ( | ) | const [inline] |
Definition at line 591 of file statemap.h.
bool statemap::FSMContext::isStateStackEmpty | ( | ) | const [inline] |
Definition at line 652 of file statemap.h.
FSMContext& statemap::FSMContext::operator= | ( | const FSMContext & | fsm | ) | [inline] |
Definition at line 538 of file statemap.h.
void statemap::FSMContext::popState | ( | ) | [inline] |
Definition at line 702 of file statemap.h.
void statemap::FSMContext::pushState | ( | const State & | state | ) | [inline] |
Definition at line 673 of file statemap.h.
int statemap::FSMContext::same | ( | const FSMContext & | fsm | ) | const [inline] |
Definition at line 555 of file statemap.h.
void statemap::FSMContext::setDebugFlag | ( | bool | flag | ) | [inline] |
Definition at line 568 of file statemap.h.
void statemap::FSMContext::setState | ( | const State & | state | ) | [inline] |
Definition at line 633 of file statemap.h.
void statemap::FSMContext::setTransition | ( | const char * | transition | ) | [inline] |
Definition at line 605 of file statemap.h.
bool statemap::FSMContext::_debug_flag [private] |
Definition at line 802 of file statemap.h.
State* statemap::FSMContext::_previous_state [protected] |
Definition at line 789 of file statemap.h.
State* statemap::FSMContext::_state [protected] |
Definition at line 777 of file statemap.h.
StateEntry* statemap::FSMContext::_state_stack [protected] |
Definition at line 792 of file statemap.h.
char* statemap::FSMContext::_transition [protected] |
Definition at line 796 of file statemap.h.