Device interface to one or multiple arrays of encoders. More...
#include <yarp/dev/MultipleAnalogSensorsInterfaces.h>
Public Member Functions | |
virtual size_t | getNrOfEncoderArrays () const =0 |
Get the number of encoder arrays exposed by this device. More... | |
virtual yarp::dev::MAS_status | getEncoderArrayStatus (size_t sens_index) const =0 |
Get the status of the specified sensor. More... | |
virtual bool | getEncoderArrayName (size_t sens_index, std::string &name) const =0 |
Get the name of the specified sensor. More... | |
virtual bool | getEncoderArrayMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const =0 |
Get the last reading of the specified sensor. More... | |
virtual size_t | getEncoderArraySize (size_t sens_index) const =0 |
Get the size of the specified encoder array. More... | |
virtual | ~IEncoderArrays () |
Device interface to one or multiple arrays of encoders.
Sensor Tag |
---|
EncoderArrays |
Definition at line 519 of file MultipleAnalogSensorsInterfaces.h.
|
inlinevirtual |
Definition at line 553 of file MultipleAnalogSensorsInterfaces.h.
|
pure virtual |
Get the last reading of the specified sensor.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfEncoderArrays()-1). |
[out] | out | The requested measure. The vector should be getEncoderArraySize(sens_index)-dimensional. The measure is expressed in Newton. |
[out] | timestamp | The timestamp of the requested measure, expressed in seconds. |
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the name of the specified sensor.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the size of the specified encoder array.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the status of the specified sensor.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the number of encoder arrays exposed by this device.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.