Book a Demo

Author Topic: C-Code Generation out of an UML Activity Diagram  (Read 2816 times)

Software Engineer

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
C-Code Generation out of an UML Activity Diagram
« on: September 28, 2009, 05:49:29 pm »
Hello,

in my company I am evaluatimg Enterprise Architect 7.5 (Evaluation Version in Ultimate Mode) for our software development projects.

Now I am having problems to generate C Code out of an UML Activity diagram.

The steps I have already executed are:

  • I have imported some C-Header files from our library in a class diagram.
  • Then I have drag some operations of the classes (function prototypes of the C-Header files) in an Activity diagram an have conected them through control flows.


Can anybody help me to generate a c function out of this UML activity diagram which calls the functions which are represented through the activities in die Activity diagram.

Thanks
« Last Edit: September 28, 2009, 05:52:56 pm by schnoogle »

Nizam Mohamed

  • EA User
  • **
  • Posts: 193
  • Karma: +1/-0
    • View Profile
Re: C-Code Generation out of an UML Activity Diagr
« Reply #1 on: September 30, 2009, 09:24:08 am »
please refer to the following pointer
"For C(OO), please ensure that, on the C Specifications page of the Options dialog, you have set the Object Oriented Support option to True."

at
http://www.sparxsystems.com/uml_tool_guide/code_engineering/code_generation_from_behaviora.html