Maki
Loading...
Searching...
No Matches
states.hpp
1//Copyright Florian Goujeon 2021 - 2025.
2//Distributed under the Boost Software License, Version 1.0.
3//(See accompanying file LICENSE or copy at
4//https://www.boost.org/LICENSE_1_0.txt)
5//Official repository: https://github.com/fgoujeon/maki
6
7#ifndef MAKI_STATES_HPP
8#define MAKI_STATES_HPP
9
10#include "detail/state_impls/simple_no_context.hpp"
11#include "state.hpp"
12#include "state_mold.hpp"
13
14namespace maki
15{
16
17namespace detail::state_molds
18{
19 inline constexpr auto null = state_mold{}
20 .pretty_name("");
21
22 inline constexpr auto fin = state_mold{};
23}
24
28inline constexpr auto undefined = state_mold{};
29
33namespace states
34{
35#if MAKI_DETAIL_DOXYGEN
49#else
51#endif
52
53#if MAKI_DETAIL_DOXYGEN
60#else
62#endif
63
64#if MAKI_DETAIL_DOXYGEN
71#else
72 inline constexpr auto undefined =
74 ;
75#endif
76}
77
78} //namespace
79
80#endif
State mold.
Definition state_mold.hpp:42
Represents a state.
Definition state.hpp:26
Predefined state and pseudostate objects.
Definition states.hpp:34
constexpr auto fin
Dummy final state object given to transition hooks. It represents the final state.
Definition states.hpp:59
constexpr auto undefined
Represents the undefined state.
Definition states.hpp:70
constexpr auto null
Dummy state object given to transition hooks.
Definition states.hpp:48
The Maki library.
constexpr auto undefined
The state mold of the undefined state.
Definition states.hpp:28