◆ OFSMBase()
◆ AddTransition()
| AddTransition |
( |
FSMTransition< FSMStateBase, FSMEventBase, FSMActionBase, FSMGuardBase > |
t | ) |
|
|
inlineprivate |
adds transition into transition table
◆ GetCurrentState()
| array< ref FSMStateBase > GetCurrentState |
( |
| ) |
|
|
inlineprivate |
◆ IsRunning()
returns true if machine is in running state
◆ ProcessEvent()
| ProcessEvent |
( |
FSMEventBase |
e | ) |
|
|
inlineprivate |
instructs the state machine to process the event e
- Parameters
-
| [in] | e | event that will be used to find suitable transition from current state |
- Returns
- FSM_OK if transition found and allowed by guard (if any)
◆ ProcessLocalTransition()
| ProcessLocalTransition |
( |
int |
s, |
|
|
FSMTransition< FSMStateBase, FSMEventBase, FSMActionBase, FSMGuardBase > |
t, |
|
|
FSMEventBase |
e |
|
) |
| |
|
inlineprivate |
instructs the state machine to process the event locally - no hierarchy is crossed
- Parameters
-
| [in] | t | the transition in m_transitions |
| [in] | e | event that will be used to process transition from current state |
- Returns
- FSM_OK or FSM_TERMINATED
References fsmbDebugPrint(), and LogManager::IsInventoryHFSMLogEnable().
◆ SetInitialStates()
| void SetInitialStates |
( |
array< ref FSMStateBase > |
initial_states | ) |
|
|
inlineprivate |
◆ Start()
| Start |
( |
array< ref FSMEventBase > |
initial_events = null | ) |
|
|
inlineprivate |
◆ Terminate()
| Terminate |
( |
array< ref FSMEventBase > |
terminal_events = null | ) |
|
|
inlineprivate |
◆ Update()
◆ m_InitialStates
| protected ref array<ref FSMStateBase> m_InitialStates |
|
private |
◆ m_States
| protected ref array<ref FSMStateBase> m_States |
|
private |
◆ m_Transitions
| protected ref array<ref FSMTransition<FSMStateBase, FSMEventBase, FSMActionBase, FSMGuardBase> > m_Transitions |
|
private |
configurable initial state of the machine
The documentation for this class was generated from the following file: