Maki
Loading...
Searching...
No Matches
maki::states Namespace Reference

Predefined state and pseudostate objects. More...

Variables

constexpr auto final = state<IMPLEMENTATION_DETAIL>{}
 Dummy final state object given to transition hooks. It represents the final state.
 
constexpr auto null = state<IMPLEMENTATION_DETAIL>{}
 Dummy state object given to transition hooks.
 
constexpr auto undefined = state<IMPLEMENTATION_DETAIL>{}
 Represents the undefined state.
 

Detailed Description

Predefined state and pseudostate objects.

Variable Documentation

◆ final

auto maki::states::final = state<IMPLEMENTATION_DETAIL>{}
constexpr

Dummy final state object given to transition hooks. It represents the final state.

Not to be confused with maki::final.

◆ null

auto maki::states::null = state<IMPLEMENTATION_DETAIL>{}
constexpr

Dummy state object given to transition hooks.

It represents either:

  • the source state for transitions from the initial pseudostate;
  • the target state for transitions that exits the superstate.

Its pretty name is an empty string.

Not to be confused with maki::null.

◆ undefined

auto maki::states::undefined = state<IMPLEMENTATION_DETAIL>{}
constexpr

Represents the undefined state.

Not to be confused with maki::undefined.