SwDataDefPropsConditional
XML tag |
<SW-DATA-DEF-PROPS-CONDITIONAL> |
Module |
autosar.base |
Inherits |
This class is a collection of properties used by various data objects.
Note that not all of the attributes are useful all of the time. The special value None is used when an attribute is not active.
Factory Methods
Instances of SwDataDefPropsConditional are automatically being constructed when you are creating Application or Implementation data types using the Package API.
Constructor
- base.DataConstraint([baseTypeRef = None][, implementationTypeRef = None][, swAddressMethodRef = None][, swCalibrationAccess = None][, swImplPolicy = None][, swPointerTargetProps = None][, compuMethodRef = None][, dataConstraintRef = None][, unitRef = None][, parent = None])
- 参数
baseTypeRef (str) – Reference to SwBaseType.
implementationTypeRef (str) – Reference to ImplementationDataType.
swAddressMethodRef (str) – Reference to SoftwareAddressMethod.
swCalibrationAccess (str) – Software calibration access.
swImplPolicy (str) – Software implementation policy.
swPointerTargetProps (SwPointerTargetProps.) – Optional instance of SwPointerTargetProps
compuMethodRef (str) – Reference to CompuMethod.
dataConstraintRef (str) – Reference to DataConstraint.
unitRef (str) – Reference to Unit.
parent (Package.) – Parent package.
swCalibrationAccess
Value |
Description |
---|---|
|
No calibration access set |
|
Create default calibration access value as set by Workspace.profile.swCalibrationAccessDefault |
|
The element will not be accessible by external tools |
|
Read only access |
|
Read-write access |
swImplPolicy
Value |
Description |
---|---|
|
No policy set |
|
Prevent implementation to modify the memory. Uses the “const” modifier in C. |
|
Data element is fixed and might be implemented as in place data such as a #define. |
|
Data element is created for measurement purposes only. |
|
Data element is queued and has event semantics. Data is processed in FIFO order. |
|
Data element is non-queued and uses the “last is best” semantics |
Attributes
Name |
Type |
Description |
---|---|---|
baseTypeRef |
None or str |
<BASE-TYPE-REF> |
compuMethodRef |
None or str |
<COMPU-METHOD-REF> |
dataConstraintRef |
None or str |
<DATA-CONSTR-REF> |
implementationTypeRef |
None or str |
<IMPLEMENTATION-DATA-TYPE-REF> |
parent |
None or Package |
Parent package |
swAddressMethodRef |
None or str |
<SW-ADDR-METHOD-REF> |
swCalibrationAccess |
None or str |
<SW-CALIBRATION-ACCESS> |
swImplPolicy |
None or str |
<SW-IMPL-POLICY> |
swPointerTargetProps |
None or SwPointerTargetProps |
<SW-POINTER-TARGET-PROPS> |
unitRef |
None or str |
<UNIT-REF> |
Public Properties
Name |
Type |
Access Type |
---|---|---|
swImplPolicy |
str |
Get, Set |
swImplPolicy
Get or set current software implementation policy.