HFSM is a modern C++ hierarchical finite state machine library with a declarative API.
Highlights
- Zero-overhead dispatch: template metaprogramming resolves transitions at compile time, removing virtual calls and
switchstatements. - Readable transition tables: states and transitions are declared as a table you can read at a glance, without digging through implementation code.