I'm looking for a framework that provides execution of hierarchical state machines (HSMs).
These are the requirements for the framework:
- Conforms to UML state machine semantics (as much as possible)
- Supports at least
- run-to-completion semantics
- hierarchical states
- entry and exit actions
- transition actions
- guards
- events with custom parameters
- Is object-oriented or does at least not prohibit OO designs
The target platform is an medium- to large-sized embedded system with an OS.
Do you know a framework that fulfills the above requirements? What are the pros and cons of your framework?