What events does state machine code generator support?


#1

Hi, I have made a pretty simple state machine diagram (which is subdiagram for a class diagram) with couple of simple states and transitions between them. However, the generated code seems to generate only code for CallEvents. I have one transition with TimeEvent, but specification of that transition or event does not seem to be anywhere in the generated code, so I was wondering if you support that feature at all.

Also if you have any list of supported features in code generation I would be grateful if you could point me to it since I don’t seem to find anything except basic workflow tutorial for state machine code generation.


#2

Hi kristina_zvonar,

Thanks for your enquiry. Visual Paradigm generate code to manage object state only. For time, message…etc event, you have to implement the logic.

For more details, you may refer to State Machine Compiler manual and faq:
http://smc.sourceforge.net/SmcFaq.htm#EventRegistration