Specifying sources and target for UML-to-Real-Time-C++ transformations

You can select the source model or model elements on which to run a transformation, and specify a location where the transformation generates target elements or files.

Before you begin

The UML-to-Real-Time-C++ transformation can convert the following UML source objects into real-time C++ code:
  • Models
  • Packages
  • Capsules
  • Protocols
  • Classes
  • Enumerations
  • Interfaces

A valid transformation target is a C++ project or any of its folders. If you create a new target container, you can create a standard make C++ project, which uses either a makefile that you create or an existing makefile, or you can create a managed make project, which generates the makefile for you automatically.

About this task

To specify the source and target of a transformation:

Procedure

  1. In the navigation view, right-click a transformation configuration file; then click Open.
  2. Click the Source and Target tab.
  3. In the Selected source pane, select a valid source model or model elements for the transformation.
  4. In the Selected target pane, select a valid target location for the artifacts that the transformation generates.
    Note: To create a new target location, click Create New Target Container and complete the pages in the wizard.
  5. Click File > Save.

Results

The options are applied the next time that you run the transformation.
Note: If you create a new transformation configuration, you can specify this information on the Source and Target page of the New Transformation Configuration wizard.

Feedback