Cpp_StateMachine

Compact table-driven finite state machine in C++, with guard, entry and exit actions and typed event data.

Author
David Lafreniere
Website
https://github.com/endurodave/StateMachine
Category
Data Processing
License
MIT
Library Type
Contributed
Architectures
Any

Derive from StateMachine and define states, events and transitions with macros; the state engine handles internal and external events, guard/entry/exit actions and event data (checked at run time with RTTI). Include Cpp_StateMachine.h. Needs the C++ standard library (not 8-bit AVR).

Downloads

Filename Release Date File Size
Cpp_StateMachine-1.3.0.zip 2026-11-15 95.55 KiB