|
|
using | fsmtype = Fsm< F > |
| | Templated FSM.
|
| |
|
using | state_ptr_t = F * |
| | Current state pointer.
|
| |
|
| template<typename S > |
| void | transit (void) |
| | state transition functions
|
| |
| template<typename S , typename ActionFunction > |
| void | transit (ActionFunction action_function) |
| | Transition to new state.
|
| |
| template<typename S , typename ActionFunction , typename ConditionFunction > |
| void | transit (ActionFunction action_function, ConditionFunction condition_function) |
| | Transit to new state.
|
| |
◆ dispatch()
Dispatch a new state.
- Template Parameters
-
- Parameters
-
◆ is_in_state()
Check if in state.
- Template Parameters
-
- Returns
- true
-
false
◆ transit() [1/3]
template<typename F >
template<typename S , typename ActionFunction >
Transition to new state.
- Template Parameters
-
- Parameters
-
◆ transit() [2/3]
template<typename F >
template<typename S , typename ActionFunction , typename ConditionFunction >
| void gva::tinyfsm::Fsm< F >::transit |
( |
ActionFunction |
action_function, |
|
|
ConditionFunction |
condition_function |
|
) |
| |
|
inlineprotected |
Transit to new state.
- Template Parameters
-
| S | |
| ActionFunction | |
| ConditionFunction | |
- Parameters
-
| action_function | |
| condition_function | |
◆ transit() [3/3]
template<typename F >
template<typename S >
state transition functions
Transition to new state
- Template Parameters
-
The documentation for this class was generated from the following file: