![]() |
Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
|
Moore machine. More...
#include <tinyfsm.h>


Public Member Functions | |
| virtual void | entry (void) |
| entry actions in some states | |
| void | exit (void) |
| no exit actions | |
Additional Inherited Members | |
Public Types inherited from gva::tinyfsm::Fsm< F > | |
| using | fsmtype = Fsm< F > |
| Templated FSM. | |
| using | state_ptr_t = F * |
| Current state pointer. | |
Static Public Member Functions inherited from gva::tinyfsm::Fsm< F > | |
| template<typename S > | |
| static constexpr S & | state (void) |
| public, leaving ability to access state instance (e.g. on Reset) | |
| template<typename S > | |
| static constexpr bool | is_in_state (void) |
| Check if in state. | |
| static void | set_initial_state () |
| state machine functions | |
| static void | Reset () |
| Reset state machine. | |
| static void | enter () |
| Enter state. | |
| static void | start () |
| start state | |
| template<typename E > | |
| static void | dispatch (E const &event) |
| Dispatch a new state. | |
Static Public Attributes inherited from gva::tinyfsm::Fsm< F > | |
| static state_ptr_t | current_state_ptr |
| Current state pointer. | |
Protected Member Functions inherited from gva::tinyfsm::Fsm< F > | |
| 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. | |