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

State mold. More...

#include <maki/state_mold.hpp>

Public Types

using context_type = typename Impl::context_type

Public Member Functions

 state_mold (const state_mold &)=delete
 state_mold (state_mold &&)=delete
template<class Context>
constexpr state_mold< IMPLEMENTATION_DETAIL > context_c () const
 Sets the type of the context (see signatures).
template<class Context>
constexpr state_mold< IMPLEMENTATION_DETAIL > context_cm () const
 Sets the type of the context (see signatures).
constexpr state_mold< IMPLEMENTATION_DETAIL > context_lifetime (const state_context_lifetime value) const
 Sets the lifetime of the context.
template<class Context>
constexpr state_mold< IMPLEMENTATION_DETAIL > context_m () const
 Sets the type of the context (see signatures).
template<class Context>
constexpr state_mold< IMPLEMENTATION_DETAIL > context_v () const
 Sets the type of the context (see signatures).
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > entry_action_c (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > entry_action_c (const event_set< EventSetImpl > &, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > entry_action_ce (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > entry_action_ce (const event_set< EventSetImpl > &, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > entry_action_cm (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > entry_action_cm (const event_set< EventSetImpl > &, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > entry_action_cme (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > entry_action_cme (const event_set< EventSetImpl > &, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > entry_action_e (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > entry_action_e (const event_set< EventSetImpl > &, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > entry_action_m (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > entry_action_m (const event_set< EventSetImpl > &, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > entry_action_me (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > entry_action_me (const event_set< EventSetImpl > &, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > entry_action_v (const Action &action) const
 Adds an entry action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > entry_action_v (const event_set< EventSetImpl > &, const Action &action) const
 Adds an entry action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > exit_action_c (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > exit_action_c (const event_set< EventSetImpl > &, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > exit_action_ce (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > exit_action_ce (const event_set< EventSetImpl > &, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > exit_action_cm (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > exit_action_cm (const event_set< EventSetImpl > &, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > exit_action_cme (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > exit_action_cme (const event_set< EventSetImpl > &, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > exit_action_e (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > exit_action_e (const event_set< EventSetImpl > &, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > exit_action_m (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > exit_action_m (const event_set< EventSetImpl > &, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > exit_action_me (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > exit_action_me (const event_set< EventSetImpl > &, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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_mold< IMPLEMENTATION_DETAIL > exit_action_v (const Action &action) const
 Adds an exit action (see signatures) to be called whatever the event type.
template<class EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > exit_action_v (const event_set< EventSetImpl > &, const Action &action) const
 Adds an exit action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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 EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > internal_action_c (const event_set< EventSetImpl > &, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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 EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > internal_action_ce (const event_set< EventSetImpl > &, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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 EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > internal_action_cm (const event_set< EventSetImpl > &, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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 EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > internal_action_cme (const event_set< EventSetImpl > &, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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 EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > internal_action_e (const event_set< EventSetImpl > &, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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 EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > internal_action_m (const event_set< EventSetImpl > &, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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 EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > internal_action_me (const event_set< EventSetImpl > &, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in event_types.
template<class Event, class Action>
constexpr state_mold< 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 EventSetImpl, class Action>
constexpr state_mold< IMPLEMENTATION_DETAIL > internal_action_v (const event_set< EventSetImpl > &, const Action &action) const
 Adds an internal action (see signatures) to be called for any event type in event_types.
state_mold & operator= (const state_mold &)=delete
state_mold & operator= (state_mold &&)=delete
constexpr state_mold< IMPLEMENTATION_DETAIL > pretty_name (const std::string_view value) const
 Forces the value returned by maki::state::pretty_name().
template<class... TransitionTables>
constexpr state_mold< 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_mold< Impl >

State mold.

Member Function Documentation

◆ context_lifetime()

template<class Impl>
state_mold< IMPLEMENTATION_DETAIL > maki::state_mold< Impl >::context_lifetime ( const state_context_lifetime value) const
nodiscardconstexpr

Sets the lifetime of the context.

Note
Available from Maki 1.1.0.