High-Performance Hierarchical Finite State Machine Framework
-
Updated
Nov 7, 2025 - C++
A finite-state machine (FSM), finite-state automaton (FSA), or simply state machine is a mathematical model of computation and an abstract machine that can be in exactly one of a finite number of states at any given time.
The FSM can change from one state to another in response to some inputs; the change from one state to another is called a transition.
An FSM is defined by a list of its states, its initial state, and the inputs that trigger each transition.
In computer science, FSM are widely used in modeling of application behavior (control theory), design of hardware digital systems, software engineering, compilers, network protocols, and computational linguistics.
High-Performance Hierarchical Finite State Machine Framework
QP/C++ Real-Time Event Framework/RTOS implements event-driven Active Object (Actor) model combined with Hierarchical State Machines. Specifically designed for embedded systems (e.g., ARM Cortex-M MCUs).
A minimalist UML State machine framework for finite state machine and hierarchical state machine in C
C++14 Finite State Machine library
C++ based Hierarchical / Finite State Machine library oriented for embedded and RTOS systems.
This is a tool library that includes log, fsm, state machine...
Finite State Machine using C++20 coroutines with symmetric transfer
Arduino/ESP library to simplify setting up and running a state machine.
Hierarchical Finite State Machine Framework
ScxmlEditor - powerful tool for creating, editing and debugging scxml files
C++ State Machine generator for Xstate
High-Performance Flat Finite State Machine Framework
Metamodel, visualization, simulation, and code generation for Hierarchical Finite State Machines (HFSMs) following the UML State Machine spec.
QP/C++ real-time event framework/RTOS for Arduino (ARM Cortex-M)
yasmine - the C++ UML state machine framework
Lightweight state machine implemented in C++
Simple state machine. Implements a "Petri net" (GRAFCET/SFC) inspired state machine with states, transitions and actions
A simple and easy C++ Finite State Machine (FSM) container, with full manual
A Buffet Of C++17 State Machines
Portable hierarchical state machine written in C ( no use of malloc )