The UML-to-Real-Time-C++ transformation uses model element properties
that you can set for parameters, properties, specific relationships, classes,
packages, and models to affect the source code generated by the transformation.
These properties are listed on the RT Properties page
of the Properties view.
The following tables list model elements and their real-time properties
in the General and Target RTS groups.
Table 1. UML model elements and
their real-time properties listed in the Target RTS group.| Element type |
Property |
Type |
Generates in code |
| Classes, interfaces, and enumerations |
Generate Descriptor |
Boolean with a default value of TRUE |
|
| Version |
String with a default value of "0" |
|
| Init Function Body |
String |
|
| Copy Function Body |
String |
|
| Destroy Function Body |
String |
|
| Decode Function Body |
String |
|
| Encode Function Body |
String |
|
| Properties and Enumeration Literals |
|
|
|
| |
Generate Descriptor |
|
|
| |
Type Descriptor |
|
|
| |
Generate Type Modifier |
|
|
| |
Num Elements Function Body |
|
|
| Association Class End |
|
|
|
| |
Generate Descriptor |
|
|
| |
Type Descriptor |
|
|
| |
Generate Type Modifier |
|
|
| |
Num Elements Function Body |
|
|
| Protocol |
|
|
|
| |
Version |
|
|
| |
Backwards Compatible |
|
|
| |
Runtime Backwards Compatible |
|
|
| |
Type Safe Signals |
|
|
Table 2. UML model elements and their properties listed in the General group.| Element type |
Property |
Type |
Generates in code |
| Association Class End |
Attribute Kind |
|
|
| |
Initializer Kind |
|
|
| |
Field Points to Const Type |
|
|
| |
Field Volatile |
|
|
| |
Field Points to Volatile Type |
|
|
| |
Field Size |
|
|
| |
Get Method Name |
|
|
| |
Set Method Name |
|
|
| |
Get Method Kind |
|
|
| |
Set Method Kind |
|
|
| |
Get Method Constant |
|
|
| |
Set Method Constant |
|
|
| |
Get Method Returns |
|
|
| |
Set Method Returns |
|
|
| |
Get Method Inline |
|
|
| |
Set Method Inline |
|
|
| |
Set Method Volatile |
|
|
| |
Get Method Volatile |
|
|
| |
Header Ending |
|
|
| |
Header Preface |
|
|
| |
Implementation Ending |
|
|
| |
Implementation Preface |
|
|
| |
Association Class Member Kind |
|
|
| |
Association Class Member Initializer Kind |
|
|
| |
Association Class Member Visibility |
|
|
| |
Association Class Member Points to Const Type |
|
|
| |
Association Class Member Volatile |
|
|
| |
Association Class Member Points to Volatile Type |
|
|
| |
Association Class Member Field Size |
|
|
| |
Association Class Member Set Method Visibility |
|
|
| |
Association Class Member Get Method Visibility |
|
|
| |
Association Class Member Get Name |
|
|
| |
Association Class Member Set Name |
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|
| |
|
|
|