|
constexpr Symbol | operator""_S (char const *s, size_t len) noexcept |
| Literal suffix to convert a string literal to zth::fsm::Symbol. More...
|
|
template<typename T > |
constexpr auto | guard (T &&g, char const *name=nullptr) |
| Create a guard from a function. More...
|
|
constexpr auto | guard (Symbol &&input) noexcept |
| Create a guard from a input symbol. More...
|
|
bool | always_guard () noexcept |
|
bool | never_guard () noexcept |
|
template<typename T > |
constexpr auto | action (T &&a, char const *name=nullptr) |
| Create an action from a function. More...
|
|
void | nothing_action () |
|
constexpr auto | operator/ (Guard const &g, Action const &a) noexcept |
|
constexpr auto | operator+ (Symbol &&input) noexcept |
|
constexpr auto | input (Symbol &&symbol) noexcept |
| Create a guard from an input symbol. More...
|
|
constexpr auto | operator+ (GuardedAction &&g) noexcept |
|
constexpr auto | operator/ (GuardedAction &&ga, Action const &a) |
|
constexpr auto | operator+ (State &&state, GuardedAction &&action) noexcept |
|
constexpr auto | operator+ (State &&state, Guard const &guard) noexcept |
|
constexpr auto | operator+ (State &&state, Symbol &&input) noexcept |
|
constexpr auto | operator+ (char const *state, Symbol &&input) noexcept |
|
constexpr auto | operator+ (State &&state, char const *input) noexcept |
|
constexpr auto const & | operator+ (Guard const &guard) noexcept |
|
constexpr auto | operator/ (State &&state, Action const &action) noexcept |
|
constexpr auto | operator+ (State &&state, TransitionStart &&t) |
|
constexpr Transition | operator>>= (TransitionStart &&from, State &&to) noexcept |
|
constexpr Transition | operator>>= (State &&from, State &&to) noexcept |
|
constexpr Transition | operator>>= (char const *from, State &&to) noexcept |
|
constexpr Transition | operator>>= (Guard const &from, State &&to) noexcept |
|
constexpr Transition | operator>>= (Action const &from, State &&to) noexcept |
|
constexpr Transition | operator>>= (GuardedAction &&from, State &&to) noexcept |
|
template<typename... T> |
constexpr auto | compile (T &&... t) |
| Compile a transition description. More...
|
|
|
constexpr auto | always |
| Trivial guard that is always enabled. More...
|
|
constexpr auto | never |
| Trivial guard that is never enabled. More...
|
|
constexpr auto | nothing |
| Trivial action that does nothing. More...
|
|
constexpr auto | entry |
| Guard that is only enabled upon entry of a state. More...
|
|
constexpr auto | push |
| Action to push the new state onto the stack. More...
|
|
constexpr auto | pop |
| Action to pop the current state from the stack. More...
|
|
constexpr auto | popped |
| Guard to indicate that the current state was reached via pop . More...
|
|
constexpr auto | stop |
| Action to return from Fsm::run(). More...
|
|
constexpr auto | consume |
| Action consume the current input symbol. More...
|
|
template<time_t s> |
constexpr auto | timeout_s |
| A guard that is enabled after a s seconds after entering the current state. More...
|
|
template<uint64_t ms> |
constexpr auto | timeout_ms |
| A guard that is enabled after a ms milliseconds after entering the current state. More...
|
|
template<uint64_t us> |
constexpr auto | timeout_us |
| A guard that is enabled after a us microseconds after entering the current state. More...
|
|