15 #include <type_traits> 17 #include "../base/assert.h" 18 #include "../base/type_traits.h" 47 static constexpr
auto count = type_list::size;
60 template<
class... SubStates>
63 using state_tag = void;
auto transition() const
Execute transition to another state.
Definition: states.h:71
Definition: handle_result.h:18
auto handled() const
Indicate that event was handled.
Definition: states.h:91
Base class for an event.
Definition: states.h:31
Denotes a state.
Definition: states.h:61
auto not_handled() const
Indicate that event was not handled.
Definition: states.h:81
Definition: handle_result.h:19
Defines a set of states.
Definition: states.h:45
Event handler return type.
Definition: transitions.h:28
Definition: compressed_pair.h:10
Alias template to facilitate the creation of named values.
Definition: type_traits.h:142
Definition: handle_result.h:17