Maki
Loading...
Searching...
No Matches
maki::state_builder< Impl > Class Template Reference

State builder. More...

#include <maki/state_builder.hpp>

Public Types

using context_type = typename Impl::context_type
 

Public Member Functions

 state_builder (const state_builder &)=delete
 
 state_builder (state_builder &&)=delete
 
template<class Context>
constexpr state_builder< IMPLEMENTATION_DETAIL > context_c () const
 Sets the type of the context (see signatures).
 
template<class Context>
constexpr state_builder< IMPLEMENTATION_DETAIL > context_cm () const
 Sets the type of the context (see signatures).
 
template<class Context>
constexpr state_builder< IMPLEMENTATION_DETAIL > context_m () const
 Sets the type of the context (see signatures).
 
template<class Context>
constexpr state_builder< IMPLEMENTATION_DETAIL > context_v () const
 Sets the type of the context (see signatures).
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_c (const Action &action) const
 Adds an entry action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_c (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_c (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_ce (const Action &action) const
 Adds an entry action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_ce (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_ce (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_cm (const Action &action) const
 Adds an entry action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_cm (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_cm (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_cme (const Action &action) const
 Adds an entry action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_cme (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_cme (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_e (const Action &action) const
 Adds an entry action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_e (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_e (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_m (const Action &action) const
 Adds an entry action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_m (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_m (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_me (const Action &action) const
 Adds an entry action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_me (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_me (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_v (const Action &action) const
 Adds an entry action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_v (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > entry_action_v (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_c (const Action &action) const
 Adds an exit action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_c (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_c (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_ce (const Action &action) const
 Adds an exit action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_ce (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_ce (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_cm (const Action &action) const
 Adds an exit action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_cm (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_cm (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_cme (const Action &action) const
 Adds an exit action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_cme (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_cme (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_e (const Action &action) const
 Adds an exit action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_e (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_e (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_m (const Action &action) const
 Adds an exit action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_m (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_m (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_me (const Action &action) const
 Adds an exit action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_me (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_me (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_v (const Action &action) const
 Adds an exit action (see signatures) to be called for the event type Event.
 
template<class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_v (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > exit_action_v (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_c (const Action &action) const
 Adds an internal action (see signatures) to be called for the event type Event.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_c (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_ce (const Action &action) const
 Adds an internal action (see signatures) to be called for the event type Event.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_ce (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_cm (const Action &action) const
 Adds an internal action (see signatures) to be called for the event type Event.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_cm (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_cme (const Action &action) const
 Adds an internal action (see signatures) to be called for the event type Event.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_cme (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_e (const Action &action) const
 Adds an internal action (see signatures) to be called for the event type Event.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_e (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_m (const Action &action) const
 Adds an internal action (see signatures) to be called for the event type Event.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_m (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_me (const Action &action) const
 Adds an internal action (see signatures) to be called for the event type Event.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_me (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in evt_set.
 
template<class Event, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_v (const Action &action) const
 Adds an internal action (see signatures) to be called for the event type Event.
 
template<class EventSetPredicate, class Action>
constexpr state_builder< IMPLEMENTATION_DETAIL > internal_action_v (const event_set< EventSetPredicate > &evt_set, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in evt_set.
 
state_builderoperator= (const state_builder &)=delete
 
state_builderoperator= (state_builder &&)=delete
 
constexpr state_builder< IMPLEMENTATION_DETAIL > pretty_name (const std::string_view value) const
 Forces the value returned by maki::state::pretty_name().
 
template<class... TransitionTables>
constexpr state_builder< IMPLEMENTATION_DETAIL > transition_tables (const TransitionTables &... tables) const
 Specifies the list of transition tables. One region per transition table is created.
 

Detailed Description

template<class Impl>
class maki::state_builder< Impl >

State builder.