#include <yarp/dev/ImplementVirtualAnalogSensor.h>
Public Member Functions | |
bool | initialize (int k, const int *amap, const double *userToRaw) |
bool | uninitialize () |
ImplementVirtualAnalogSensor (IVirtualAnalogSensorRaw *virt) | |
~ImplementVirtualAnalogSensor () | |
VAS_status | getVirtualAnalogSensorStatus (int ch) override |
Check the status of a given channel. More... | |
int | getVirtualAnalogSensorChannels () override |
Get the number of channels of the virtual sensor. More... | |
bool | updateVirtualAnalogSensorMeasure (yarp::sig::Vector &measure) override |
Set a vector of torque values for virtual sensor. More... | |
bool | updateVirtualAnalogSensorMeasure (int ch, double &measure) override |
Public Member Functions inherited from yarp::dev::IVirtualAnalogSensor | |
virtual | ~IVirtualAnalogSensor () |
Definition at line 23 of file ImplementVirtualAnalogSensor.h.
ImplementVirtualAnalogSensor::ImplementVirtualAnalogSensor | ( | IVirtualAnalogSensorRaw * | virt | ) |
Definition at line 17 of file ImplementVirtualAnalogSensor.cpp.
ImplementVirtualAnalogSensor::~ImplementVirtualAnalogSensor | ( | ) |
Definition at line 23 of file ImplementVirtualAnalogSensor.cpp.
|
overridevirtual |
Get the number of channels of the virtual sensor.
Implements yarp::dev::IVirtualAnalogSensor.
Definition at line 62 of file ImplementVirtualAnalogSensor.cpp.
|
overridevirtual |
Check the status of a given channel.
ch | channel number. |
Implements yarp::dev::IVirtualAnalogSensor.
Definition at line 49 of file ImplementVirtualAnalogSensor.cpp.
bool ImplementVirtualAnalogSensor::initialize | ( | int | k, |
const int * | amap, | ||
const double * | userToRaw | ||
) |
Definition at line 28 of file ImplementVirtualAnalogSensor.cpp.
bool ImplementVirtualAnalogSensor::uninitialize | ( | ) |
Definition at line 39 of file ImplementVirtualAnalogSensor.cpp.
|
overridevirtual |
Implements yarp::dev::IVirtualAnalogSensor.
Definition at line 75 of file ImplementVirtualAnalogSensor.cpp.
|
overridevirtual |
Set a vector of torque values for virtual sensor.
measure | a vector containing the sensor's last readings. |
Implements yarp::dev::IVirtualAnalogSensor.
Definition at line 67 of file ImplementVirtualAnalogSensor.cpp.