Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
Loading...
Searching...
No Matches
gva::tinyfsm::MealyMachine< F > Struct Template Reference

Mealy machine. More...

#include <tinyfsm.h>

Inheritance diagram for gva::tinyfsm::MealyMachine< F >:
Inheritance graph
Collaboration diagram for gva::tinyfsm::MealyMachine< F >:
Collaboration graph

Public Member Functions

void entry (void)
 no entry actions
 
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 Sstate (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.
 

Detailed Description

template<typename F>
struct gva::tinyfsm::MealyMachine< F >

Mealy machine.


The documentation for this struct was generated from the following file: