|
|
| state (Context &context) |
| |
| template<class Target = Derived, class Event > |
| bool | enter (const Event &event) |
| | Calls onEnter(const Event &event) of Derived if it exists. More...
|
| |
| template<class Target = Derived> |
| bool | enter () |
| | Calls onEnter() of Derived if it exists. More...
|
| |
|
template<class Target = Derived> |
| bool | exit () |
| |
| template<class Target = Derived, class Event > |
| auto | transition (const Event &event) -> decltype(std::declval< Target >().transitionTo(event)) |
| | Calls transitionTo(const Event &event) of Derived if it exists. More...
|
| |
| template<class Target = Derived> |
| auto | transition (...) -> transitions< detail::none > |
| | For non-existing transitionTo() methods. More...
|
| |
| template<class Target = Derived> |
| auto | transitionInternal () -> decltype(std::declval< Target >().transitionInternalTo()) |
| | Calls transitionInternalTo() of Derived if it exists. More...
|
| |
|
template<class Event > |
| bool | dispatch (const Event &) |
| |
|
const Context & | context () |
| |
template<class Derived, class Context = detail::NoContext>
struct escad::new_fsm::state< Derived, Context >
state is a CRTP base class for states.
- Template Parameters
-