#include <FSMTransition.h>
Inheritance diagram for FSM::CFSMPopTransition::

| Public Methods | |
| CFSMAction * | AddAction (const char *className) | 
| CFSMAction * | GetAction (int index) const | 
| bool | DeleteAction (CFSMAction *action) | 
| Action_List::const_iterator | GetActionsBegin () const | 
| Use (*iterator) to get the pointer to the action. More... | |
| Action_List::const_iterator | GetActionsEnd () const | 
| CFSMCondition * | AddCondition (const char *className="TestVariable") | 
| CFSMCondition * | GetCondition (int index) const | 
| bool | DeleteCondition (CFSMCondition *condition) | 
| Condition_List::const_iterator | GetConditionsBegin () const | 
| Use (*iterator) to get the pointer to the condition. More... | |
| Condition_List::const_iterator | GetConditionsEnd () const | 
| CFSMState * | GetFromState () const | 
| const char * | GetOnEvent () const | 
| void | SetOnEvent (const char *event="ANY") | 
| CFiniteStateMachine * | GetFSM () const | 
| const char * | GetNameOfClass () const | 
| The class name is set by FiniteStateMachine::Create(). More... | |
| virtual bool | SetParameter (const char *paramName, const char *paramValue) | 
| Protected Methods | |
| virtual void | DeleteThis () | 
| "Destructor" Simple call delete this. More... | |
| virtual bool | Execute (const char *event, void *a, void *b) | 
| Called if the transition match. More... | |
| CFSMPopTransition () | |
| virtual | ~CFSMPopTransition () | 
| void | SetFromState (const char *stateName) | 
| virtual bool | Check (bool &result, const char *event, void *a, void *b) | 
| the answer is in result!!! More... | |
| virtual bool | Activate () | 
| Called when the state is activated. More... | |
| virtual bool | Deactivate () | 
| Called when the state is deactivated Calls Deactivate() of conditions (e.g. More... | |
| void | SetFSM (CFiniteStateMachine *ptr) | 
| void | SetClassName (const char *name) | 
| virtual bool | SaveParameters (CFSMSaver *out) const | 
| Called by the saver. More... | |
| Static Protected Methods | |
| CFSMObject * | Create () | 
| Friends | |
| class | CFSMState | 
| class | CFiniteStateMachine | 
The state is poped from stack.
Definition at line 239 of file FSMTransition.h.
| 
 | 
| 
 Definition at line 493 of file FSMTransition.cpp. | 
| 
 | 
| 
 Definition at line 497 of file FSMTransition.cpp. | 
| 
 | 
| Called when the state is activated. Calls Activate() of conditions (e.g. to start a timer) Definition at line 286 of file FSMTransition.cpp. References iRethrow. | 
| 
 | 
| 
 Definition at line 64 of file FSMTransition.cpp. References iRethrow. | 
| 
 | 
| 
 Definition at line 135 of file FSMTransition.cpp. References iRethrow. | 
| 
 | ||||||||||||||||||||
| the answer is in result!!! 
 
 Definition at line 236 of file FSMTransition.cpp. | 
| 
 | 
| 
 Definition at line 531 of file FSMTransition.cpp. | 
| 
 | 
| Called when the state is deactivated Calls Deactivate() of conditions (e.g. to stop a timer) Definition at line 301 of file FSMTransition.cpp. References iRethrow, and FSM::CFSMTransition::m_Conditions. | 
| 
 | 
| 
 Definition at line 100 of file FSMTransition.cpp. References CRITICAL, iThrow(), and FSM::CFSMTransition::m_Actions. | 
| 
 | 
| 
 Definition at line 171 of file FSMTransition.cpp. References CRITICAL, iThrow(), and FSM::CFSMTransition::m_Conditions. | 
| 
 | 
| "Destructor" Simple call delete this. This is needed because of the memory management in shared libraries. Provide a static method "Create" in derived classes that returns a new instance of that class and use DeleteThis to destroy it. The constructor and destructor shuld be protected. Reimplemented from FSM::CFSMObject. Definition at line 536 of file FSMTransition.cpp. | 
| 
 | ||||||||||||||||
| Called if the transition match. Execute actions and switch to a new state with push. Reimplemented from FSM::CFSMTransition. Definition at line 510 of file FSMTransition.cpp. References FSM::CFSMObject::GetFSM(), and iRethrow. | 
| 
 | 
| 
 
 Definition at line 79 of file FSMTransition.cpp. References CRITICAL, iThrow(), and FSM::CFSMTransition::m_Actions. | 
| 
 | 
| Use (*iterator) to get the pointer to the action. Use ++iterator to get the next iterator. 
 Definition at line 122 of file FSMTransition.cpp. References FSM::CFSMTransition::m_Actions. | 
| 
 | 
| 
 
 Definition at line 127 of file FSMTransition.cpp. References FSM::CFSMTransition::m_Actions. | 
| 
 | 
| 
 
 Definition at line 150 of file FSMTransition.cpp. References CRITICAL, iThrow(), and FSM::CFSMTransition::m_Conditions. | 
| 
 | 
| Use (*iterator) to get the pointer to the condition. Use ++iterator to get the next iterator. 
 Definition at line 193 of file FSMTransition.cpp. References FSM::CFSMTransition::m_Conditions. | 
| 
 | 
| 
 
 Definition at line 198 of file FSMTransition.cpp. References FSM::CFSMTransition::m_Conditions. | 
| 
 | 
| 
 Definition at line 216 of file FSMTransition.cpp. References FSM::CFSMTransition::CFSMState, FSM::CFSMObject::GetFSM(), iRethrow, and FSM::CFSMTransition::m_FromState. Referenced by FSM::CFSMSimpleTransition::GetToState(). | 
| 
 | 
| 
 Definition at line 56 of file FSMObject.cpp. References FSM::CFSMObject::myStateMachine. Referenced by FSM::CFSMState::AddLeaveAction(), FSM::CFSMState::AddSimpleTransition(), FSM::CFSMConditionTestVariable::CheckCondition(), Execute(), FSM::CFSMPushTransition::Execute(), FSM::CFSMSimpleTransition::Execute(), FSM::CFSMTransition::GetFromState(), and FSM::CFSMSimpleTransition::GetToState(). | 
| 
 | 
| The class name is set by FiniteStateMachine::Create(). So do not make Create methods public. Definition at line 66 of file FSMObject.cpp. References FSM::CFSMObject::ClassName. Referenced by FSM::CFSMState::Activate(), FSM::CFSMConditionTestVariable::CheckCondition(), FSM::CFSMState::Deactivate(), FSM::CFSMSimpleTransition::SetParameter(), FSM::CFSMConditionTestVariable::SetParameter(), FSM::CFSMActionIncrVariable::SetParameter(), and FSM::CFSMActionSetVariable::SetParameter(). | 
| 
 | 
| 
 Definition at line 227 of file FSMTransition.cpp. References FSM::CFSMTransition::m_Event. | 
| 
 | 
| Called by the saver. Do not call directly. Overload and call out->SaveParameter() for each parameter. Reimplemented in FSM::CFSMActionSetVariable, FSM::CFSMActionIncrVariable, FSM::CFSMConditionTestVariable, and FSM::CFSMSimpleTransition. Definition at line 80 of file FSMObject.cpp. | 
| 
 | 
| 
 Definition at line 61 of file FSMObject.cpp. References FSM::CFSMObject::ClassName. | 
| 
 | 
| 
 Definition at line 206 of file FSMTransition.cpp. | 
| 
 | 
| 
 Definition at line 51 of file FSMObject.cpp. | 
| 
 | 
| 
 Definition at line 211 of file FSMTransition.cpp. References FSM::CFSMTransition::m_Event. | 
| 
 | ||||||||||||
| 
 Reimplemented in FSM::CFSMActionSetVariable, FSM::CFSMActionIncrVariable, FSM::CFSMConditionTestVariable, and FSM::CFSMSimpleTransition. Definition at line 71 of file FSMObject.cpp. | 
| 
 | 
| 
 Reimplemented from FSM::CFSMTransition. Definition at line 243 of file FSMTransition.h. | 
| 
 | 
| 
 Reimplemented from FSM::CFSMTransition. Definition at line 242 of file FSMTransition.h. |