|
fsm 0.4.1
Header-only C++20 hierarchical table-driven FSM
|
Row target: external transition, internal handling, or refusal. More...
#include <fsm.hpp>
Public Member Functions | |
| constexpr | target ()=default |
| constexpr | target (detail::to_t< State > t) |
| constexpr | target (internal_t) |
| constexpr | target (detail::refuse_t< Reason > f) |
Public Attributes | |
| target_kind | k = target_kind::unspecified |
| State | s {} |
| Destination for target_kind::to. | |
| Reason | r {} |
| Reason for target_kind::refuse_. | |
Row target: external transition, internal handling, or refusal.
Built with fsm::to(), fsm::internal, or fsm::refuse(). Default-constructs to poison unspecified so .to is effectively mandatory (validated at compile time).
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| target_kind fsm::target< State, Reason >::k = target_kind::unspecified |
| Reason fsm::target< State, Reason >::r {} |
Reason for target_kind::refuse_.
| State fsm::target< State, Reason >::s {} |
Destination for target_kind::to.