High-Performance Hierarchical Finite State Machine Framework
-
Updated
Apr 5, 2026 - 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...
Arduino/ESP library to simplify setting up and running a state machine.
Finite State Machine using C++20 coroutines with symmetric transfer
Hierarchical Finite State Machine Framework
ScxmlEditor - powerful tool for creating, editing and debugging scxml files
High-Performance Flat Finite State Machine Framework
C++ State Machine generator for Xstate
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
Simple state machine. Implements a "Petri net" (GRAFCET/SFC) inspired state machine with states, transitions and actions
Lightweight state machine implemented in C++
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 )