yarp-devices
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
roboticslab::PdoConfiguration Class Referencefinal

Set of SDO configuration values for a PdoProtocol. More...

#include <PdoProtocol.hpp>

Classes

struct  Private
 

Public Member Functions

 PdoConfiguration ()
 Constructor.
 
 ~PdoConfiguration ()
 Destructor.
 
 PdoConfiguration (const PdoConfiguration &)
 Copy constructor.
 
PdoConfigurationoperator= (const PdoConfiguration &)
 Copy assignment operator.
 
PdoConfigurationsetValid (bool value)
 Set or reset valid bit.
 
PdoConfigurationsetRtr (bool value)
 Set or reset RTR bit.
 
PdoConfigurationsetTransmissionType (PdoTransmissionType value)
 Set transmission type.
 
PdoConfigurationsetInhibitTime (std::uint16_t value)
 Set inhibit time.
 
PdoConfigurationsetEventTimer (std::uint16_t value)
 Set event timer.
 
PdoConfigurationsetSyncStartValue (std::uint8_t value)
 Set sync start value.
 
template<typename T >
PdoConfigurationaddMapping (std::uint16_t index, std::uint8_t subindex=0x00)
 Configure PDO mapping, uses template parameter to deduce object size.
 

Private Member Functions

void addMappingInternal (std::uint32_t value)
 

Private Attributes

friend PdoProtocol
 
Privatepriv
 

Detailed Description

This class manages optional values via chainable setters. Unless a setter has been called by client code, no configuration will be applied for its related value. For instance: if setInhibitTime is never called, PdoProtocol will not attempt to create and send a SDO package that configures the inhibit time of the RPDO on the drive side.


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