Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
statemap::FSMContext Class Referenceabstract

#include <statemap.h>

Classes

class  StateEntry
 

Public Member Functions

void clearState ()
 
void emptyStateStack ()
 
virtual void enterStartState ()=0
 
bool getDebugFlag ()
 
StategetPreviousState ()
 
int getStateStackDepth () const
 
char * getTransition ()
 
bool isInTransition () const
 
bool isStateStackEmpty () const
 
FSMContextoperator= (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
 

Detailed Description

Definition at line 440 of file statemap.h.

Constructor & Destructor Documentation

virtual statemap::FSMContext::~FSMContext ( )
inlinevirtual

Definition at line 498 of file statemap.h.

statemap::FSMContext::FSMContext ( const State state)
inlineprotected

Definition at line 734 of file statemap.h.

statemap::FSMContext::FSMContext ( const FSMContext )
inlineprivate

Definition at line 755 of file statemap.h.

Member Function Documentation

void statemap::FSMContext::clearState ( )
inline

Definition at line 600 of file statemap.h.

void statemap::FSMContext::emptyStateStack ( )
inline

Definition at line 716 of file statemap.h.

virtual void statemap::FSMContext::enterStartState ( )
pure virtual
bool statemap::FSMContext::getDebugFlag ( )
inline

Definition at line 542 of file statemap.h.

State* statemap::FSMContext::getPreviousState ( )
inline

Definition at line 608 of file statemap.h.

int statemap::FSMContext::getStateStackDepth ( ) const
inline

Definition at line 639 of file statemap.h.

char* statemap::FSMContext::getTransition ( )
inline

Definition at line 579 of file statemap.h.

bool statemap::FSMContext::isInTransition ( ) const
inline

Definition at line 572 of file statemap.h.

bool statemap::FSMContext::isStateStackEmpty ( ) const
inline

Definition at line 633 of file statemap.h.

FSMContext& statemap::FSMContext::operator= ( const FSMContext fsm)
inline

Definition at line 519 of file statemap.h.

void statemap::FSMContext::popState ( )
inline

Definition at line 683 of file statemap.h.

void statemap::FSMContext::pushState ( const State state)
inline

Definition at line 654 of file statemap.h.

int statemap::FSMContext::same ( const FSMContext fsm) const
inline

Definition at line 536 of file statemap.h.

void statemap::FSMContext::setDebugFlag ( bool  flag)
inline

Definition at line 549 of file statemap.h.

void statemap::FSMContext::setState ( const State state)
inline

Definition at line 614 of file statemap.h.

void statemap::FSMContext::setTransition ( const char *  transition)
inline

Definition at line 586 of file statemap.h.

Member Data Documentation

bool statemap::FSMContext::_debug_flag
private

Definition at line 779 of file statemap.h.

State* statemap::FSMContext::_previous_state
protected

Definition at line 767 of file statemap.h.

State* statemap::FSMContext::_state
protected

Definition at line 756 of file statemap.h.

StateEntry* statemap::FSMContext::_state_stack
protected

Definition at line 770 of file statemap.h.

char* statemap::FSMContext::_transition
protected

Definition at line 774 of file statemap.h.


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


smclib
Author(s): Various
autogenerated on Wed Sep 2 2020 03:40:43