Public Member Functions | Public Attributes | Private Attributes
icl_hardware::canopen_schunk::PDO::Mapping Class Reference

Holds the mapping parameter plus the actual data. More...

#include <PDO.h>

List of all members.

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_tdata
 Actual data of the PDO is stored in this data vector.

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

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

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

Definition at line 97 of file PDO.h.

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 Thu Jun 6 2019 20:17:24