Book a Demo

Author Topic: State diagram  (Read 12260 times)

TeddyBear

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
State diagram
« on: March 08, 2010, 08:50:49 am »
Could someone please create a state diagram/machine that can be exported(code generated) to C++ so I can figure out how to get it to work. I've spent several hours in trying to get this done and nothing seems to work. I've tried the ultimate edition(Trial) among others.  the "tutorials" do not explain how to go about this but simply say that the state machine needs to be in a class or something like that.  It says refer to the EA example but I cannot find a state diagram in there that can generate code.

Makulik

  • EA User
  • **
  • Posts: 400
  • Karma: +0/-0
    • View Profile
Re: State diagram
« Reply #1 on: March 08, 2010, 09:23:57 pm »
**sigh**
I've got a sample for a state machine, where code generation works. Leave your eMail in my message box and I'll send it as soon I find time.

WBR
Günther

Nizam Mohamed

  • EA User
  • **
  • Posts: 193
  • Karma: +1/-0
    • View Profile
Re: State diagram
« Reply #2 on: March 11, 2010, 10:33:46 am »
Have a look at a simple statemachine "Project Models.Systems Engineering Model.Implementation Model.Software.C++.IO.SearchExternalMedia" in EaExample.eap.

and a simple demonstration at http://www.sparxsystems.com/resources/demos/75_overview/index.html ( Development / Executable Code Gen ).

If you still have issues, please write to sparxsupport([email protected]), and it will be responded accordingly