This is a C++ statemachine generator that generates statemachines based on https://github.com/dziegel/cpp_event_framework from an XMI model (tested with Eclipse Papyrus https://www.eclipse.org/papyrus) or an SCXML model (tested with QtCreator https://www.qt.io/product/development-tools).
The Eclipse Epsilon https://eclipse.dev/epsilon framework is used to implement the generator.
- Parallel statemachines
- Fork/Join
- Terminate
- Sub statemachines
- States
- Hierarchical statemachines (Composite states)
- Transitions
- Transition actions
- Guards
- Entry/exit actions
- Shallow history
- Choice states
The generator is a Java JAR file. To generate, call it as follows:
java -jar StatemachineGenerator-x.y.z.jar <uml> <out_path>
examples:
java -jar StatemachineGenerator-1.4.0.jar PathToMyDiagram.xmi ./generated
java -jar StatemachineGenerator-1.4.0.jar PathToMyDiagram.uml ./generated
java -jar StatemachineGenerator-1.4.0.jar PathToMyDiagram.scxml ./generated
Apache-2.0
Dirk Ziegelmeier dirk@ziegelmeier.net