Editing an Operation
- Open the ClientServer interface that contains the operation you want to modify.
- In the Outline tab, select the operation you want to modify.
Do one of the following:
- In the Edit menu, select Properties.
- In the context menu, select Properties.
- Double-click the operation.
The signature editor window for the selected operation opens. In this dialog window, you can assign arguments.
For each input value, add an argument with direction In, and for each output value, add an argument with direction Out:
Note
Since the return value of an operation is predefined, Out arguments must be used to deliver computation results.
Click the
Add Argument button.The new argument is added, with its name highlighted for in-place editing.
- Name the argument and press <Enter>.
In the Argument Type combo box, select the type of the argument.
You can use only enumerations and records as complex (user-defined) arguments.
If you selected an array or matrix of enumeration or record type, the
following happens. To edit the size of an array or matrix argument,
do the following. - In the Direction combo box, select the direction In or Out.
- Edit the return value.
- Implement the operation arguments.
See also
Opening an AUTOSAR Interface Editor
Directions of Method Arguments
Variable Size for Arrays and Matrices