fsm
Public Member Functions | List of all members
escad::detail::state_manager< States, Context, Tracer > Struct Template Reference

Manages a set of state, creates, destroys and pass events to a proper state. More...

#include <state_manager.h>

Public Member Functions

 state_manager (Context &ctx, Tracer &tracer)
 
template<class T >
void enter ()
 
void exit ()
 
template<class E >
auto dispatch (E const &e)
 
template<class S >
bool is_in () const
 
template<class S >
S & state ()
 

Detailed Description

template<class States, class Context, class Tracer = NullTracer>
struct escad::detail::state_manager< States, Context, Tracer >

Manages a set of state, creates, destroys and pass events to a proper state.


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