Reproducing a Component

Note

Reproducing a block diagram or ESDL module as SWC Wrapper is described in Reproducing a Module as SWC Wrapper.

  1. In the Component Manager, select the component you want to reproduce.

  2. In the Edit menu, point to Reproduce As and select <item type> to determine the item type to be created.

    Note

    Without activated Enable Creation of AUTOSAR Components option, you cannot create AUTOSAR components, neither via Insert > AUTOSAR > * nor via Reproduce As > *.

    The available <item type>s depend on the selected component. The Closedfollowing table lists the components that can be reproduced, and the available <item type>s for each component.

    If you reproduce a component as a non-AUTOSAR component, Closedthe following happens.

    The new component is created in the same folder as the original one. It is named as the original, with the extension 1.

    The new component contains the same interface as the original one, but in most cases, no functionality is specified for the component.

    The functionality is reproduced only if you reproduce a block diagram component (class, module, SWC) as ESDL component; see Reproducing Database/Workspace Items for details and Example: Reproducing a Block Diagram as ESDL Component for an example.

    If you reproduce a component as AUTOSAR component, Closedthe following can happen.

    If the component contains, directly or indirectly, imported elements, the database/workspace is searched for a project that can provide information on implementation and data of these elements. If several projects are found, a selection window opens.

    1. In that window, select the project you want to determine the project context.
    2. Click OK to continue.

    See Special Features of Reproducing Components as AUTOSAR Components for details on what happens during reproduction.

  3. You may want to rename the new component to avoid naming conflicts.
  4. Double-click the new item to open the relevant component editor and specify the functionality you want.

See also

Reproducing a Module as SWC Wrapper

Special Features of Reproducing Components as AUTOSAR Components

Example: Reproducing a Block Diagram as ESDL Component

Reproducing Database/Workspace Items

Managing Database/Workspace Items