14 #ifndef ELEMENT_HEADER
15 #define ELEMENT_HEADER
26 #if defined(__GNUC__) && (__GNUC__ == 5) && defined(__QNX__)
27 #pragma GCC diagnostic ignored \
32 typedef std::map<std::string, uint8_t>
TypeMap;
34 #if defined(__GNUC__) && (__GNUC__ == 5) && defined(__QNX__)
35 #pragma GCC diagnostic warning \
82 const size_t array_size,
83 const std::string& element_name);
125 std::string _element_name;
A common result class usable as return value throughout.
Class to access and obtain the byte position and other information of a instance of this element with...
TargetElement represents a single signal element in the target.
a_util::result::Result setTransformation(const MapTransformationBase *transformation)
Setter for transformation Write constant from Mapping or default value from DataDefinition or 0.
TargetElement(Target *target)
CTOR.
a_util::result::Result setValue(const void *data, uint32_t src_type, size_t mem_size)
Setter value to the element.
a_util::result::Result create(void *element_ptr, const ddl::dd::StructElementAccess &element_access, const size_t array_size, const std::string &element_name)
Creation method to initialize the object.
a_util::result::Result setDefaultValue(const std::string &default_value)
Method to give a default value to the element.
Target * getTarget()
Getter for the parent target reference.
Target represents a mapped target signal in the runtime api.
OO DataDefinition - Data Definition.
std::vector< TargetElement * > TargetElementList
the targets element list
std::map< std::string, uint8_t > TypeMap
String -> Datatype Enum Map.
DataTypes
Enum for all relevant data types.
definition of the ddl namespace
Common include for component a_util::result.