Book a Demo

Author Topic: transformation or code generation  (Read 3017 times)

revdev

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
  • Love this stuff.
    • View Profile
transformation or code generation
« on: January 26, 2006, 02:14:05 pm »
I'm evaluating EA and am wondering how to generate code from state machines.  I don't really see what the transformation step is doing, but it's not generating code.  What I eventually want is a state transition table and an action for each state.

Thanks,
Bruce
re-Vision Development

thomaskilian

  • Guest
Re: transformation or code generation
« Reply #1 on: January 27, 2006, 03:41:13 am »
You can't generate code from a state machine. If you want to do so, you have to write an add-in. Code gen. is controlled by the contents of the according class (methods Initial Code section, attributes, tags, etc.)

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: transformation or code generation
« Reply #2 on: January 29, 2006, 07:31:17 pm »
It's possible to write a transformation to get state machine information into methods etc. but it's something that you'll need to write yourself.  Possibly with the help of an addin and the EXEC_ADD_IN function macro.  (Search the forum for examples of that if you need them)