sttcl
v0.9c
STTCL C++ template state machine framework
|
#include <CompositeState.h>
Protected Member Functions | |
CompositeStateBaseWithDeepHistory () | |
~CompositeStateBaseWithDeepHistory () | |
void | saveCurrentState (InnerStateType *currentState) |
InnerStateType * | getStateHistory () |
template<class CompositeStateImpl > | |
InnerStateType * | resumeStateHistory (CompositeStateImpl *compositeState) |
template<class CompositeStateImpl > | |
InnerStateType * | finalizeStateHistory (CompositeStateImpl *compositeState) |
Protected Attributes | |
InnerStateType * | lastState |
Represents the base class for a composite state with a deep history pseudo state.
InnerStateType | The state base class type of the composite states inner states. |
|
inlineprotected |
Constructor for class CompositeStateBaseWithDeepHistory.
|
inlineprotected |
Destructor for class CompositeStateBaseWithDeepHistory.
|
inlineprotected |
Resets the state history.
CompositeStateImpl | The composite state implementation class. |
compositeState | A pointer to the composite state implementation. |
|
inlineprotected |
Gets the last saved state.
|
inlineprotected |
Resumes the state history.
CompositeStateImpl | The composite state implementation class. |
compositeState | A pointer to the composite state implementation. |
|
inlineprotected |
Saves the current inner state of the composite state.
currentState |
|
protected |