yarp-devices
Loading...
Searching...
No Matches
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.
PdoConfiguration & operator= (const PdoConfiguration &)
 Copy assignment operator.
PdoConfiguration & setValid (bool value)
 Set or reset valid bit.
PdoConfiguration & setRtr (bool value)
 Set or reset RTR bit.
PdoConfiguration & setTransmissionType (PdoTransmissionType value)
 Set transmission type.
PdoConfiguration & setInhibitTime (std::uint16_t value)
 Set inhibit time.
PdoConfiguration & setEventTimer (std::uint16_t value)
 Set event timer.
PdoConfiguration & setSyncStartValue (std::uint8_t value)
 Set sync start value.
template<typename T>
PdoConfiguration & addMapping (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
Private * priv

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:
  • libraries/CanOpenNodeLib/PdoProtocol.hpp
  • libraries/CanOpenNodeLib/PdoProtocol.cpp