Skip to content
This repository was archived by the owner on Nov 16, 2025. It is now read-only.

StateMachineHandler

ged edited this page Sep 10, 2024 · 2 revisions

Definition

A generic state machine handler class that manages state transitions and execution for a state machine.
Can be used as the core handler for different types of state machines, including Finite State Machines (FSM) and Hierarchical State Machines (HSM). It queues and processes state transitions and provides hooks for entering, updating, and exiting states.

Uses a queue that holds the type of callback to execute, a pointer to the reference of a state, and a pointer to the destination state. The size of the queue depends on the value of SZ + 1.

class StateMachineHandler

Constructors

Functions

Clone this wiki locally