UML-to-Real-Time-C++ transformation profiles and property sets

When you use the Model Project wizard to create a C++ capsule development project, a set of profiles are automatically applied to the project model that provide UML elements for real-time development as well as language-specific properties that affect code generation.

The following profiles are applied to C++ capsule development models:

The UMLRealTime profile is automatically applied to your source model when you create a C++ capsule model project. When you add UML model elements from RealTime palettes and menu commands, model elements are created with the appropriate stereotypes automatically applied. You can also manually apply the stereotypes of the UMLRealTime transformation profile to model elements in your source model; for example, you can apply the «capsule» stereotype to a class in a model that has the UMLRealTime profile applied. However, the stereotypes do not affect how the transformation generates code.

The CppPropertySets profile contains properties that are used to attach domain-specific information to models to control certain aspects of code generation. When you select UML model elements in the Project Explorer or a diagram, properties appear in the General, RT Properties, and Advanced pages of the Properties window. Examples of properties for a class include Visibility, Abstract, and Assignment Operator Inline.

You can make changes to the default values of properties for all model elements or override the value of properties for individual model elements. However, you cannot override individual properties in the RT Properties page; you can only override, or restore defaults to, the entire page.


Feedback