Creating a ClientServer Interface from an Existing Class
You can create a ClientServer interface from an existing ASCET class (except state machine, Boolean table, conditional table) specified as service routine or prototype implementation; see Copying Database/Workspace Items and Structures for details.
Note |
|---|
Without activated Enable Creation of AUTOSAR Components option, you cannot create AUTOSAR components |
In the Component Manager, select the class you want to reproduce as ClientServer interface.
In the Edit menu, point to Reproduce As and select ClientServer Interface.
The new ClientServer interface is created in the same folder as the original module. It is named Client_Server_<class name>. For each method in the class, an operation is created.
See Special Features of Reproducing Components as AUTOSAR Components for detailed information on the reproduction results.
- Double-click the new item to open the interface editor.
See also
Special Features of Reproducing Components as AUTOSAR Components