9 #ifndef YARP_DEV_IVIRTUALANALOGSENSOR_H
10 #define YARP_DEV_IVIRTUALANALOGSENSOR_H
21 class IVirtualAnalogSensor;
22 class IVirtualAnalogSensorRaw;
constexpr yarp::conf::vocab32_t VOCAB_IVIRTUAL_ANALOG
contains the definition of a Vector type
A generic interface to a virtual sensors.
virtual ~IVirtualAnalogSensorRaw()
virtual int getVirtualAnalogSensorChannelsRaw()=0
Get the number of channels of the virtual sensor.
virtual bool updateVirtualAnalogSensorMeasureRaw(yarp::sig::Vector &measure)=0
Set a vector of torque values for virtual sensor.
virtual bool updateVirtualAnalogSensorMeasureRaw(int ch, double &measure)=0
virtual VAS_status getVirtualAnalogSensorStatusRaw(int ch)=0
Check the status of a given channel.
A generic interface to a virtual sensors.
virtual VAS_status getVirtualAnalogSensorStatus(int ch)=0
Check the status of a given channel.
virtual bool updateVirtualAnalogSensorMeasure(yarp::sig::Vector &measure)=0
Set a vector of torque values for virtual sensor.
virtual bool updateVirtualAnalogSensorMeasure(int ch, double &measure)=0
virtual ~IVirtualAnalogSensor()
virtual int getVirtualAnalogSensorChannels()=0
Get the number of channels of the virtual sensor.
constexpr yarp::conf::vocab32_t createVocab(char a, char b=0, char c=0, char d=0)
The main, catch-all namespace for YARP.
#define YARP_WARNING_POP
Ends a temporary alteration of the enabled warnings.
#define YARP_DISABLE_CLASS_ENUM_API_WARNING
#define YARP_WARNING_PUSH
Starts a temporary alteration of the enabled warnings.