I'd like some (freely reusable) C++ classes to represent states, events and Finite State Machines (FSM).
Maybe each even has a unique ID and string name which can be used when debugging. Maybe each state has the same plus an OnEnter() and OnExit() function, etc and maybe each FSM has a collection of states, each of which accepts various events.
Before I code my own, is there anything available off the shelf? I was thinking about Boost, but they are a little cagey about using it in embedded systems (see http://www.boost.org/doc/libs/1_35_0/libs/statechart/doc/faq.html)
Thanks for any advice, I am ending towards coding my own, as that will meet my needs 100% but it would be silly not to look at anything that's out there for free.