Hi,

There is also a new version of this generator at: http://www.acceleo.org/wiki/index.php/UML_2.1_to_C
This is not yet the official TopCased UML2C generator but it's planned to be.

Features already available:
  • Header files generated from model elements:
    • Classes
    • Datatype
    • Enumeration
  • Source files generated from model classes
  • Generated files respect the package structure
  • Comments generated from comment model elements
  • Function declaration and definition
  • Global variables
  • Visibility management for function declarations and global variables
    • In header file, if public
    • In source file, if private
  • Multiplicity management for variables and parameters
  • Import management
  • Structure and enumeration generation

Some responses below:

[email protected] a écrit :
Hello,

I had a look at UML2C generator, it is very interesting.

Many industrial projects are based on an incremental build model, where "the model is designed, implemented and tested incrementally" (see http://en.wikipedia.org/wiki/Incremental_build_model for further information).
In order to fully comply with such software development constraints, it would be very useful to have the possibility:
- of generating code prototypes from the design,
  
Which kind of prototypes?
You can already generated API and implementation in .c files. Have you an exemple of what you want?
- of updating the code using external tools,
  
Today, you can already modified your source code in protected region, and regenerate your code without loss your "user code".
- of integrating the code modifications back to the design: this would ensure the coherency between the design and the code during the whole product development cycle.
  
These feature isn't yet available in TopCased.
But, as UML2C generator is based on Acceleo, you can have a look at Acceleo Pro which propose this roundtrip feature and de-synchronisation detection between code and models: http://www.obeo.fr/pages/acceleo-pro-traceability/en

Etienne Juliot
Obeo
begin:vcard
fn:Etienne Juliot
n:Juliot;Etienne
org:Obeo
adr;quoted-printable:;;2 rue Robert Schuman;Rez=C3=A9;;44400;France
email;internet:[email protected]
tel;work:+332 51 13 55 94
tel;cell:+336 86 78 14 82
url:http://www.obeo.fr
version:2.1
end:vcard

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to