Public Member Functions | Public Attributes | Private Attributes | List of all members
icl_hardware::canopen_schunk::PDO::Mapping Class Reference

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 More...
 
 Mapping (const MappingConfiguration &mapping_configuration_)
 Mapping Creates a new mapping that stores the mapping information and the mapped data. More...
 

Public Attributes

std::vector< uint8_tdata
 Actual data of the PDO is stored in this data vector. More...
 

Private Attributes

MappingConfiguration mapping_configuration
 

Detailed Description

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.

Note
Remapping of PDOs is only allowed if the NMT State is in pre operational.

Definition at line 84 of file PDO.h.

Constructor & Destructor Documentation

icl_hardware::canopen_schunk::PDO::Mapping::Mapping ( const MappingConfiguration mapping_configuration_)
inline

Mapping Creates a new mapping that stores the mapping information and the mapped data.

Parameters
mapping_configuration_Description of the values to map

Definition at line 91 of file PDO.h.

Member Function Documentation

MappingConfiguration icl_hardware::canopen_schunk::PDO::Mapping::getConfiguration ( ) const
inline

getConfiguration Returns the current mapping configuration of the PDO

Returns
Currently active mapping configuration

Definition at line 102 of file PDO.h.

Member Data Documentation

std::vector<uint8_t> icl_hardware::canopen_schunk::PDO::Mapping::data

Actual data of the PDO is stored in this data vector.

Definition at line 97 of file PDO.h.

MappingConfiguration icl_hardware::canopen_schunk::PDO::Mapping::mapping_configuration
private

Definition at line 104 of file PDO.h.


The documentation for this class was generated from the following file:


schunk_canopen_driver
Author(s): Felix Mauch , Georg Heppner
autogenerated on Mon Jun 10 2019 15:07:49