A compact C++ finite state machine (FSM) implementation that's easy to use on embedded and PC-based systems.
Originally published on CodeProject at: State Machine Design in C++
Based on original design published in C\C++ Users Journal (Dr. Dobb's) at: State Machine Design in C++
See related full featured state machine Git project here.