TargetElement represents a single signal element in the target.
More...
TargetElement represents a single signal element in the target.
Definition at line 59 of file element.h.
◆ TargetElement()
CTOR.
- Parameters
-
[in] | target | The target containing this element |
◆ create()
Creation method to initialize the object.
- Parameters
-
[in] | element_ptr | The Pointer referencing the element in target buffer |
[in] | element_access | The element access type |
[in] | array_size | The array size of the element |
[in] | element_name | The name of the element in Assignment, for debug only |
- Returns
- Standard result
◆ getTarget()
Getter for the parent target reference.
- Returns
- The target
◆ setDefaultValue()
Method to give a default value to the element.
- Parameters
-
[in] | default_value | The default value as a string |
- Returns
- Standard result
◆ setTransformation()
Setter for transformation Write constant from Mapping or default value from DataDefinition or 0.
- Parameters
-
[in] | transformation | The transformation to apply for to element |
- Returns
- Standard result
◆ setValue()
Setter value to the element.
- Parameters
-
[in] | data | The pointer referencing the source buffer |
[in] | src_type | The datatype of the source element |
[in] | mem_size | The size of the source buffer |
- Returns
- Standard result