The Autosar Interface Editor simplifies the task of working with Autosar Client Server interfaces, Service interfaces, Sender Receiver interfaces, and helps the user with versioning of individual Items in an Interface. This article describes how to use this extension view. For more information about the Autosar standard, visit the Autosar home page.


Prerequisites

  • The Autosar Meta model containing Service Interfaces and/or Client Server Interfaces
  • An installation of the Explorer client (swExplorer) version R34 or later
  • The SystemWeaver SWExtension.AutosarInterfaceEditor extension
  • An SW Architect has configured and activated the view via Configure the explorer


The view is accessible via menu options on the ribbon that have been configured by an Architect. An option becomes available when an item is selected for which the view has been configured. Below is one example of a configured option. 


Example Menu Option


They are also available via the View drop-down at the bottom of the list by ribbon group name. 



Getting Acquainted with the View

The view consists of three sections for editing Methods, Events and Fields respectively. If an Item has status CS_Released, Released or Frozen, and the user tries to edit it or a related property, the view will ask the user for the status of the Item and ask whether or not to perform the change.



Note: For Client Server Interface, the only available section is Methods.


Methods

To add a new method, click New method. Below is an explanation of the different columns in the Methods section from left to right. 


Name

The name of the method. To change the name, click the text box and enter the new name.


Status

The status of the method. This property cannot be edited directly in the view.


Fire and Forget

Indicates whether this is a fire and forget method or not. To change the value, click the checkbox. A true value is indicated by a checked checkbox and a false value is indicated by an unchecked checkbox.


Add Argument

Adds an argument to the method.



Name

The name of the argument. To change the name, click the text box and enter the new name.


Direction

The direction of the argument. To change the value, select another value from the drop-down list.



Server Argument impl. policy

The server argument implementation policy of the argument. To change the value, select another value from the drop-down list.



Data Type

The data type of the argument. To change the data type of the argument, click on the data type name. 



Remove Argument

Removes the argument from the method.



Add Error

Add an error to the method.



Error Name

The name of the error. To change the name, click the text box and enter the new name.


Remove Error

Removes the error from the method.



Remove Method

Removes the complete method from the interface.



Events 

To add a new event, click New event. Below is an explanation of the different columns in the Events section from left to right.


Name

The name of the event. To change the name, click the text box and enter the new name.


Status

The status of the method. This property cannot be edited directly in the view.


Data Type

The data type of the event. To change the data type of the event, click on the data type name. 


Remove Event

Removes the event from the interface.


Fields


Name

The name of the field. To change the name, click the text box and enter the new name.


Status

The status of the field. This property cannot be edited directly in the view.


Has setter

Indicates whether the field has a setter or not. To change the value, click the checkbox. A true value is indicated by a checked checkbox and a false value is indicated by an unchecked checkbox.


Has getter

Indicates whether the Field has a getter or not. To change the value, click the checkbox. A true value is indicated by a checked checkbox and a false value is indicated by an unchecked checkbox.


Has notifier

Indicates whether the field has a notifier or not. To change the value, click the checkbox. A true value is indicated by a checked checkbox and a false value is indicated by an unchecked checkbox.


Data type

The data type of the field. To change the data type of the field, click on the data type name.


Remove

Removes the field from the interface.



Data prototypes

When standing on a Sender receiver interface, the view can be used for data prototypes. 


To add a new prototype, click Add data prototype. Below is an explanation of the different columns in the Data prototype section from left to right.

Name

The name of the prototype. To change the name, click the text box and enter the new name.


Data type

The data type of the prototype. To change the data type, click on the data type name.


Remove

Removes the prototype from the interface.


What's Next?

See Maintaining Software and ECU Composition Interfaces.