6#ifndef YARP_DEV_ANALOGSENSORCLIENT_ANALOGSENSORCLIENT_H
7#define YARP_DEV_ANALOGSENSORCLIENT_ANALOGSENSORCLIENT_H
24 const int ANALOG_TIMEOUT = 100;
111 bool close()
override;
define control board standard interfaces
contains the definition of a Vector type
analogsensorclient deprecated: Device that reads an AnalogSensor (using the IAnalogSensor interface) ...
void removeLeadingTrailingSlashesOnly(std::string &name)
yarp::os::Stamp getLastInputStamp() override
Get the time stamp for the last read data.
bool close() override
Close the DeviceDriver.
~AnalogSensorClient() override=default
AnalogSensorClient(AnalogSensorClient &&)=delete
int calibrateChannel(int ch) override
Calibrates one single channel.
AnalogSensorClient & operator=(AnalogSensorClient &&)=delete
int calibrateSensor() override
Calibrates the whole sensor.
int read(yarp::sig::Vector &out) override
Read a vector from the sensor.
int getState(int ch) override
Check the state value of a given channel.
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
AnalogSensorClient()=default
AnalogSensorClient(const AnalogSensorClient &)=delete
AnalogSensorClient_InputPortProcessor inputPort
int getChannels() override
Get the number of channels of the sensor.
AnalogSensorClient & operator=(const AnalogSensorClient &)=delete
Interface implemented by all device drivers.
A generic interface to sensors (gyro, a/d converters).
A mini-server for performing network communication in the background.
BufferedPort()
Constructor.
A mini-server for network communication.
A base class for nested structures that can be searched.
An abstraction for a time stamp and/or sequence number.