DataElement¶
| XML tag | <DATA-ELEMENT> |
| Module | autosar.element |
| Inherits | autosar.element.Element |
DataElements are commonly used in SenderReceiverInterface but they sometimes are used for other purposes.
Constructor¶
-
DataElement(name, typeRef[, isQueued = False][, swAddressMethodRef = None][, swCalibrationAccess = None][, swImplPolicy = None][, category = None][, parent = None][, adminData = None])¶ Parameters: - name (str) – Short-name identifer
- typeRef (str) – Type reference
- isQueued (bool) – Queued property
- swAddressMethodRef (str) – Reference to SoftwareAddressMethod
- swCalibrationAccess (str) – Calibration access setting
- swImplPolicy (str) – Implementation policy
- category (str) – Category string
- parent – Only used internally (leave as None)
- adminData – Optional AdminData object
swCalibrationAccess
TBD
swImplPolicy
- CONST
- FIXED
- MEASUREMENT-POINT
- QUEUED
- STANDARD
Attributes¶
For inherited attributes see autosar.element.Element.
| Name | Type | Description |
|---|---|---|
| dataConstraintRef | None or str | Reference to DataConstraint |
| isQueued | bool | Queued property |
| swAddressMethodRef | None or str | Reference to SoftwareAddressMethod |
| swCalibrationAccess | None or str | Calibration access setting |
| typeRef | str | Data type reference |
Note
It might be better idea to change DataElement to have a single instance of autosar.base.SwDataDefPropsConditional. This will remove some duplicated attributes found in this class.
Properties¶
| Name | Type | Description |
|---|---|---|
| swImplPolicy | None or str | Software Implementation Policy |