Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: Open Space Discussion - Stereotype based code generation with Rhapsody in C
Topic Summary:
Created On: 13-Jun-2006 17:56
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 13-Jun-2006 17:56
User is offline View Users Profile Print this message


Matthias Wufka

Posts: 1
Joined: 29-Mar-2005

Leader Name: Alexander Steinkogler, Matthias Wufka, Markus Rauber

Attendees:
Clemens Maas
Jens Laudien
Marcel Ritz
Markus Gueller
Dennis Frölich
Richard de Klerk
Bernd Mönnicke
Martin Stockl
Peter Schmittinger
Bruno Tischhauser
Frank Braun
Daniel Brüngger
Beery Holstein
Hartmut Schorrig

Session Notes:
Using properties for tayloring the code generation.

With the usage of propeties, many tasks can be customized to the needs of an application. An example is the usage of the C_CG::Class::AllocateMemory and C_CG::Class ::FreeMemory property. By overriding this property, it is possible to use own memory allocation routines for memory allocation and deallocation for all instances of a class.

Using stereotypes for easy selection of properties

Even though the usage of properties for tayloring of code generation is a possible way to go, it still is kind of tedious. The same steps have to be done over and over again, each of them giving the possibility of errors. Stereotypes offer the possibility of changing properties of a Rhapsody Element by a single click. Creating a stereotype uses other Properties as 'Standard Operations' and may influence the code generation that way. Simple Stereotypes allow automatic generation of code realizing the GOF patterns Singleton and Observer with little additional actions being necessary.

Using a postprocessor for advanced code generation customization

Stereotypes can also be used to invoke a post processor after the Rhapsody code generator to improve the code generation possibilities. The language to be used in the properties themselves is not appropriate for all kinds of code generation tasks. Therefore invoking a post processor may be the way to go for more complicated tasks like building an interface-based simple inheritance for Rhapsody in C.

Feel free to discuss further...
Report this to a Moderator Report this to a Moderator
 21-Jun-2006 21:52
User is offline View Users Profile Print this message


Conrad Beaulieu

Posts: 7
Joined: 31-Jan-2006

I want to know if Rhapsody can support the UML 2.0 multiple stereotype assignment. We need this capability to categorize multiple facilities or patterns as they may apply. Rhapsody has a single drop-down list without mutliple select. Hence only one stereotype can easily be defined.

I have been able to create a sort-of-multple stereotype by entering multiple stereotypes separated by commas - I am not sure how Rhapsody handles this.
Report this to a Moderator Report this to a Moderator
 25-Jun-2006 20:48
User is offline View Users Profile Print this message


Jesper Gissel

Posts: 88
Joined: 20-Jul-2005

Hi,

It was told at the RUG meeting, that the upcomming version of Rhapsody, would support multiple stereotype assignment. Furthermore, stereotype inheiritance will be possible.

Regards,

-------------------------
Jesper Gissel
Johnson Controls Denmark, Marine Controls
Report this to a Moderator Report this to a Moderator
 7-Aug-2006 13:33
User is offline View Users Profile Print this message


Ian Turner

Posts: 25
Joined: 3-Feb-2006

Using stereotypes for easy selection of properties

Hi,

in order to re-use your stereotypes in other models, without the possibility of errors is to create a profile that contains your stereotypes. This profile can be added to new models as a reference (read-only) and the stereotypes applied to the appropriate model artifacts.

Regards, Ian
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.