proxygen
|
#include <StateMachine.h>
Public Types | |
using | EventHandlerFun = typename SM::Actions(*)(const typename SM::State &, typename SM::Param) |
Static Public Member Functions | |
static EventHandlerFun | getHandler (typename SM::StateEnum state, typename SM::Event event) |
Static Private Member Functions | |
template<std::size_t i> | |
static constexpr EventHandlerFun | getEventHandler () |
template<std::size_t... Indices> | |
static constexpr std::array< EventHandlerFun, sizeof...(Indices)> | getEventHandlers (std::index_sequence< Indices... >) |
Definition at line 15 of file StateMachine.h.
using fizz::sm::StateMachine< SM >::EventHandlerFun = typename SM::Actions (*)(const typename SM::State&, typename SM::Param) |
Definition at line 18 of file StateMachine.h.
|
staticprivate |
|
inlinestaticprivate |
Definition at line 33 of file StateMachine.h.
|
static |
Returns the appropriate event handler for event in state.
Definition at line 63 of file StateMachine-inl.h.
References i.
Referenced by fizz::server::detail::processEvent(), and fizz::client::detail::processEvent().