|C code generation in Papyrus [message #1644620]
||Mon, 02 March 2015 05:07
| Abhijit Deshpande
Registered: December 2014
Is there any code generator, which can generate C code from state machine, activity, BDD and IBD?
I tried "Block -> right click -> Code generation -> Generate C++ code" (I think this is Acceleo code generator) as well as Qompass code generator. But, in both cases only C++ class declarations (empty => i.e. without any behavior) are getting generated.
So, the question is whether there is any C/C++ code generator, which can generate code for model behavior described using state machine, activity diagram etc.?
BTW, for code generation exercise, I used counter example which is available at https://wiki.eclipse.org/Papyrus/UserGuide/ModelExecution. and, even though I could execute this model using "Moka", I could not generate C code for the same.
Powered by FUDForum
. Page generated in 0.02819 seconds