6#ifndef YARP_DEV_IVIRTUALANALOGSENSOR_H
7#define YARP_DEV_IVIRTUALANALOGSENSOR_H
17class IVirtualAnalogSensor;
18class 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.
For streams capable of holding different kinds of content, check what they actually have.
constexpr yarp::conf::vocab32_t createVocab32(char a, char b=0, char c=0, char d=0)
Create a vocab from chars.
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.