SlaveErrorRegistersDevice Class Reference

Brief description of class SlaveErrorRegistersDevice. More...

#include <armarx/control/ethercat/SlaveErrorRegistersDevice.h>

+ Inheritance diagram for SlaveErrorRegistersDevice:

Public Member Functions

const SensorValueBasegetSensorValue () const override
 
 SlaveErrorRegistersDevice (const std::string &name, std::uint16_t slaveIndex)
 
void updateValues (const RegisterDataList *data)
 
- Public Member Functions inherited from SensorDevice
virtual std::string getReportingFrame () const
 
template<class T >
const TgetSensorValue () const
 
std::string getSensorValueType (bool withoutNamespaceSpecifier=false) const
 Returns the SensorValue's type as a string. More...
 
virtual void rtReadSensorValues (const IceUtil::Time &sensorValuesTimestamp, const IceUtil::Time &timeSinceLastIteration)
 This is a hook for implementations to read the sensor value from a bus. More...
 
 SensorDevice (const std::string &name)
 Create a SensorDevice with the given name. More...
 
- Public Member Functions inherited from DeviceBase
 DeviceBase (const std::string &name)
 Create a Device with the given name. More...
 
const std::string & getDeviceName () const
 
const std::set< std::string > & getTags () const
 
virtual bool hasError ()
 
bool hasTag (const std::string &tag) const
 
const char * rtGetDeviceName () const
 
virtual ~DeviceBase ()=default
 

Public Attributes

SlaveErrorRegistersSensorValue value
 

Additional Inherited Members

- Static Public Attributes inherited from SensorDevice
static const SensorDevicePtr NullPtr {nullptr}
 A static const nullptr in case a const ref to a nullptr needs to be returned. More...
 
- Protected Member Functions inherited from DeviceBase
void addDeviceTag (const std::string &tag)
 adds the given tag to the Device More...
 

Detailed Description

Brief description of class SlaveErrorRegistersDevice.

Detailed description of class SlaveErrorRegistersDevice.

Definition at line 90 of file SlaveErrorRegistersDevice.h.

Constructor & Destructor Documentation

◆ SlaveErrorRegistersDevice()

SlaveErrorRegistersDevice ( const std::string &  name,
std::uint16_t  slaveIndex 
)
inline

Definition at line 93 of file SlaveErrorRegistersDevice.h.

Member Function Documentation

◆ getSensorValue()

const SensorValueBase* getSensorValue ( ) const
inlineoverridevirtual
See also
RtUtility:startLowLatencyMode
armarx::control::ethercat::SlaveIdentifier::vendorID

Implements SensorDevice.

Definition at line 103 of file SlaveErrorRegistersDevice.h.

◆ updateValues()

void updateValues ( const RegisterDataList data)

Definition at line 6 of file SlaveErrorRegistersDevice.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ value


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