Holds the mapping parameter plus the actual data. More...
#include <PDO.h>
Public Member Functions | |
MappingConfiguration | getConfiguration () const |
getConfiguration Returns the current mapping configuration of the PDO | |
Mapping (const MappingConfiguration &mapping_configuration_) | |
Mapping Creates a new mapping that stores the mapping information and the mapped data. | |
Public Attributes | |
std::vector< uint8_t > | data |
Actual data of the PDO is stored in this data vector. | |
Private Attributes | |
MappingConfiguration | mapping_configuration |
Holds the mapping parameter plus the actual data.
The Mapping of the PDO contains mapping information and data at the same time Each PDO Stores a mapping configuration containing the individual entries of the PDO to transmit or Receive These entries can be referenced by name so the user is able to get a specific value of the PDO by referring to it by name. The Actuall data is stored in the data vector if the Mapping object. This vector contains the data of all values mapped on this pdo in sequenc of their entries in the Mapping Configurarion. Each PDO may transmit or receive up to 8 bytes of data. The Mapping may be appended at a later time or completely destroyed with a new mapping.
icl_hardware::canopen_schunk::PDO::Mapping::Mapping | ( | const MappingConfiguration & | mapping_configuration_ | ) | [inline] |
MappingConfiguration icl_hardware::canopen_schunk::PDO::Mapping::getConfiguration | ( | ) | const [inline] |