|
infinite_state_machine 1.0.0
Infinite State Machine Library
|
The state structure for the infinite state. This structure represents a state in the infinite state machine. It contains information about the state's parent, composite enter action, and composite exit action. More...
#include <infinite_state.h>

Public Attributes | |
| struct infinite_state * | super |
| The parent state of this state. | |
| void(* | enter )(struct infinite_state *state, struct infinite_state_machine *machine) |
| The enter action for this state. | |
| void(* | exit )(struct infinite_state *state, struct infinite_state_machine *machine) |
| The exit action for this state. | |
The state structure for the infinite state. This structure represents a state in the infinite state machine. It contains information about the state's parent, composite enter action, and composite exit action.
Definition at line 30 of file infinite_state.h.
| void(* infinite_state::enter) (struct infinite_state *state, struct infinite_state_machine *machine) |
The enter action for this state.
NULL, in which case no action is taken.| state | The incoming sub-state. |
| machine | The infinite state machine. |
Definition at line 47 of file infinite_state.h.
| void(* infinite_state::exit) (struct infinite_state *state, struct infinite_state_machine *machine) |
The exit action for this state.
NULL, in which case no action is taken.| state | The outgoing sub-state. |
| machine | The infinite state machine. |
Definition at line 59 of file infinite_state.h.
| struct infinite_state* infinite_state::super |
The parent state of this state.
Definition at line 35 of file infinite_state.h.