|
| virtual | ~State () |
| |
| virtual State * | Clone (StorageList &inputStream)=0 |
| | Function returns concreete new instantion of descendent EState class. More...
|
| |
| QString | GetStateName () const |
| | Function returns string representation of state. More...
|
| |
| virtual void | OnEnter () |
| | This method is called when state is going to be active. More...
|
| |
| virtual void | OnEnter (const int32_t stateRequestCode) |
| |
| virtual void | OnResume () |
| | This method is called when state is going to be reactivated from state history. More...
|
| |
| virtual void | OnResume (const int32_t stateRequestCode, const int32_t stateResultCode, StorageList &storageList) |
| |
| virtual void | OnLeave () |
| | This method is called immediately before state is to be inactivated. More...
|
| |
| virtual void | OnTimeOut () |
| | Called when on show of timer is expired. More...
|
| |
| virtual void | OnSecondTick () |
| | Called every second. More...
|
| |
| virtual void | OnMinuteTick () |
| | Called on every minute change. More...
|
| |
| virtual | ~State () |
| |
| virtual State * | Clone (StorageList &inputStream)=0 |
| | Function returns concreete new instantion of descendent EState class. More...
|
| |
| QString | GetStateName () const |
| | Function returns string representation of state. More...
|
| |
| virtual void | OnEnter () |
| | This method is called when state is going to be active. More...
|
| |
| virtual void | OnEnter (const int32_t stateRequestCode) |
| |
| virtual void | OnResume () |
| | This method is called when state is going to be reactivated from state history. More...
|
| |
| virtual void | OnResume (const int32_t stateRequestCode, const int32_t stateResultCode, StorageList &storageList) |
| |
| virtual void | OnLeave () |
| | This method is called immediately before state is to be inactivated. More...
|
| |
| virtual void | OnTimeOut () |
| | Called when on show of timer is expired. More...
|
| |
| virtual void | OnSecondTick () |
| | Called every second. More...
|
| |
| virtual void | OnMinuteTick () |
| | Called on every minute change. More...
|
| |
|
| | State (const QString &stateName, StateManager *context) |
| |
| virtual void | TimerStart (unsigned long timeout) |
| |
| virtual void | TimerStop () |
| | Stop currently running timer. More...
|
| |
| virtual bool | IsTimerActive () |
| | Method to determine if timer is now running. More...
|
| |
virtual
StateDefines::StateAlgorithmResult | ChangeState (const QString &stateName, StorageList &storageList, const StateDefines::ChangeStateFlag changeStateFlag=StateDefines::ChangeStateFlagUndefined) |
| | Launch a new state. You will not receive any information about when the state exits. More...
|
| |
virtual
StateDefines::StateAlgorithmResult | ChangeStateForResult (const QString &stateName, StorageList &storageList, const int32_t stateRequestCode) |
| | Launch state for which you would like a result when it finished. When this state (stateName) exits, your OnResume() method will be called with the given stateRequestCode. More...
|
| |
virtual
StateDefines::StateAlgorithmResult | FinishState (const StateDefines::FinishStateFlag finishStateFlag=StateDefines::FinishStateFlagUndefined) |
| | Call this when your state is done and should be closed. finishStateFlag - Additional options for how state should be finished. More...
|
| |
virtual
StateDefines::StateAlgorithmResult | FinishStateWithResult (const int32_t stateResultCode, StorageList &storageList) |
| | Call this when your state is done and should be closed. State result code stateResultCode is propagated back to whoever launched you via State::ChangeStateForResult. More...
|
| |
| virtual bool | IsChangeStateForResultMapEmpty () |
| | IsChangeStateForResultMapEmpty method returns information about existing states which have to be returned in with specific result (we can exactly identify current state which does or doesn't return result) More...
|
| |
| StateManager * | GetStateManager () |
| | Method for getting used ECore. More...
|
| |
| virtual void | FillStorageList (const StorageList &storageList) |
| | Copy all items from storageList and copy to member in this class. More...
|
| |
| virtual StorageList & | GetStorageList () |
| | Gets storage list saved in this class. More...
|
| |
| | State (const QString &stateName, StateManager *context) |
| |
| virtual void | TimerStart (unsigned long timeout) |
| |
| virtual void | TimerStop () |
| | Stop currently running timer. More...
|
| |
| virtual bool | IsTimerActive () |
| | Method to determine if timer is now running. More...
|
| |
virtual
StateDefines::StateAlgorithmResult | ChangeState (const QString &stateName, StorageList &storageList, const StateDefines::ChangeStateFlag changeStateFlag=StateDefines::ChangeStateFlagUndefined) |
| | Launch a new state. You will not receive any information about when the state exits. More...
|
| |
virtual
StateDefines::StateAlgorithmResult | ChangeStateForResult (const QString &stateName, StorageList &storageList, const int32_t stateRequestCode) |
| | Launch state for which you would like a result when it finished. When this state (stateName) exits, your OnResume() method will be called with the given stateRequestCode. More...
|
| |
virtual
StateDefines::StateAlgorithmResult | FinishState (const StateDefines::FinishStateFlag finishStateFlag=StateDefines::FinishStateFlagUndefined) |
| | Call this when your state is done and should be closed. finishStateFlag - Additional options for how state should be finished. More...
|
| |
virtual
StateDefines::StateAlgorithmResult | FinishStateWithResult (const int32_t stateResultCode, StorageList &storageList) |
| | Call this when your state is done and should be closed. State result code stateResultCode is propagated back to whoever launched you via State::ChangeStateForResult. More...
|
| |
| virtual bool | IsChangeStateForResultMapEmpty () |
| | IsChangeStateForResultMapEmpty method returns information about existing states which have to be returned in with specific result (we can exactly identify current state which does or doesn't return result) More...
|
| |
| StateManager * | GetStateManager () |
| | Method for getting used ECore. More...
|
| |
| virtual void | FillStorageList (const StorageList &storageList) |
| | Copy all items from storageList and copy to member in this class. More...
|
| |
| virtual StorageList & | GetStorageList () |
| | Gets storage list saved in this class. More...
|
| |
abstract interface class creating API for states.
- Note
- chose really wisely what to put here and what to change here. Use EStateUser and EStateService if it's possible