nomlib
Loading...
Searching...
No Matches
nom::Transition Struct Reference

Result of an event-driven transition lookup. More...

#include <StateMachine.hpp>

Public Attributes

TransitionAction action = TransitionAction::None
 Action to perform.
StateSymbol target = NO_STATE
 Target state symbol for Push/Replace/PopToParent actions.
void * data = nullptr
 User-defined data passed to lifecycle hooks.

Detailed Description

Result of an event-driven transition lookup.

Definition at line 86 of file StateMachine.hpp.

Member Data Documentation

◆ action

TransitionAction nom::Transition::action = TransitionAction::None

Action to perform.

Definition at line 89 of file StateMachine.hpp.

◆ data

void* nom::Transition::data = nullptr

User-defined data passed to lifecycle hooks.

Definition at line 97 of file StateMachine.hpp.

◆ target

StateSymbol nom::Transition::target = NO_STATE

Target state symbol for Push/Replace/PopToParent actions.

Ignored when action is Pop.

Definition at line 94 of file StateMachine.hpp.


The documentation for this struct was generated from the following file: