|
Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
|
Compile-time transition rule definition. More...
#include <Transition.hpp>
Collaboration diagram for corium::fsm::Transition< From, Event, To, Guard, Action >:Public Types | |
| using | ActionType = Action |
| using | EventType = Event |
| using | FromState = From |
| using | GuardType = Guard |
| using | ToState = To |
Public Member Functions | |
| constexpr | Transition ()=default |
| constexpr | Transition (GuardType g, ActionType a=ActionType{}) |
Public Attributes | |
| ActionType | action {} |
| GuardType | guard {} |
Static Public Attributes | |
| static constexpr bool | is_internal = false |
Compile-time transition rule definition.
| From | Source state type. |
| Event | Trigger event type. |
| To | Destination state type. |
| Guard | Callable predicate (FromState&, const Event&) -> bool. |
| Action | Callable action (FromState&, const Event&, ToState&) -> void. |
| using corium::fsm::Transition< From, Event, To, Guard, Action >::ActionType = Action |
| using corium::fsm::Transition< From, Event, To, Guard, Action >::EventType = Event |
| using corium::fsm::Transition< From, Event, To, Guard, Action >::FromState = From |
| using corium::fsm::Transition< From, Event, To, Guard, Action >::GuardType = Guard |
| using corium::fsm::Transition< From, Event, To, Guard, Action >::ToState = To |
|
constexprdefault |
|
inlineexplicitconstexpr |
| ActionType corium::fsm::Transition< From, Event, To, Guard, Action >::action {} |
| GuardType corium::fsm::Transition< From, Event, To, Guard, Action >::guard {} |
|
staticconstexpr |