|
infinite_state_machine 1.0.0
Infinite State Machine Library
|
A default abstract state representation. More...
#include <infinite_state_machine.hpp>
Public Types | |
| using | topology_ptr = Topology * |
| Pointer type for the topology. | |
Public Member Functions | |
| topology_ptr | self () |
| Returns a pointer to the current state. | |
Public Attributes | |
| topology_ptr | super |
| Pointer to the super-state. | |
A default abstract state representation.
This struct serves as a base for all states in the state machine, unless otherwise overridden by a derived class.
Definition at line 24 of file infinite_state_machine.hpp.
| using infinite::state< Topology >::topology_ptr = Topology * |
Pointer type for the topology.
This type represents a pointer to the topology, allowing for easy navigation and access to the topology's members.
Definition at line 28 of file infinite_state_machine.hpp.
|
inline |
Returns a pointer to the current state.
This method provides access to the current state instance, facilitating state management and transitions.
Definition at line 37 of file infinite_state_machine.hpp.
| topology_ptr infinite::state< Topology >::super |
Pointer to the super-state.
This pointer links to the parent state in the hierarchy, enabling nested state structures.
Definition at line 32 of file infinite_state_machine.hpp.