Device interface to one or multiple temperature sensors. More...
#include <yarp/dev/MultipleAnalogSensorsInterfaces.h>
Public Member Functions | |
virtual size_t | getNrOfTemperatureSensors () const =0 |
Get the number of temperature sensors exposed by this device. More... | |
virtual yarp::dev::MAS_status | getTemperatureSensorStatus (size_t sens_index) const =0 |
Get the status of the specified sensor. More... | |
virtual bool | getTemperatureSensorName (size_t sens_index, std::string &name) const =0 |
Get the name of the specified sensor. More... | |
virtual bool | getTemperatureSensorFrameName (size_t sens_index, std::string &frameName) const =0 |
Get the name of the frame of the specified sensor. More... | |
virtual bool | getTemperatureSensorMeasure (size_t sens_index, double &out, double ×tamp) const =0 |
Get the last reading of the specified sensor. More... | |
virtual bool | getTemperatureSensorMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const =0 |
Get the last reading of the specified sensor. More... | |
virtual | ~ITemperatureSensors () |
Device interface to one or multiple temperature sensors.
Sensor Tag |
---|
TemperatureSensors |
Definition at line 364 of file MultipleAnalogSensorsInterfaces.h.
|
inlinevirtual |
Definition at line 404 of file MultipleAnalogSensorsInterfaces.h.
|
pure virtual |
Get the number of temperature sensors exposed by this device.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the name of the frame of the specified sensor.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the last reading of the specified sensor.
TODO(traversaro) : make the method swig-friendly
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the last reading of the specified sensor.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfTemperatureSensors()-1). |
[out] | out | The requested measure. The vector should be 1-dimensional. The measure is expressed in celsius degrees . |
[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 status of the specified sensor.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.