YARP
Yet Another Robot Platform
AnalogServerHandler Class Reference

Handler of the rpc port related to an analog sensor. More...

+ Inheritance diagram for AnalogServerHandler:

Public Member Functions

 AnalogServerHandler (const char *n)
 Handler of the rpc port related to an analog sensor. More...
 
 ~AnalogServerHandler ()
 
void setInterface (yarp::dev::IAnalogSensor *is)
 
bool _handleIAnalog (yarp::os::Bottle &cmd, yarp::os::Bottle &reply)
 
bool read (yarp::os::ConnectionReader &connection) override
 Read this object from a network connection. More...
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor. More...
 
virtual Type getReadType () const
 

Detailed Description

Handler of the rpc port related to an analog sensor.

Manage the calibration command received on the rpc port.

Definition at line 28 of file AnalogWrapper.cpp.

Constructor & Destructor Documentation

◆ AnalogServerHandler()

AnalogServerHandler::AnalogServerHandler ( const char *  n)

Handler of the rpc port related to an analog sensor.

Manage the calibration command received on the rpc port.

Definition at line 69 of file AnalogWrapper.cpp.

◆ ~AnalogServerHandler()

AnalogServerHandler::~AnalogServerHandler ( )

Definition at line 75 of file AnalogWrapper.cpp.

Member Function Documentation

◆ _handleIAnalog()

bool AnalogServerHandler::_handleIAnalog ( yarp::os::Bottle cmd,
yarp::os::Bottle reply 
)

Definition at line 86 of file AnalogWrapper.cpp.

◆ read()

bool AnalogServerHandler::read ( yarp::os::ConnectionReader reader)
overridevirtual

Read this object from a network connection.

Override this for your particular class.

Parameters
readeran interface to the network connection for reading
Returns
true iff the object is successfully read

Implements yarp::os::PortReader.

Definition at line 132 of file AnalogWrapper.cpp.

◆ setInterface()

void AnalogServerHandler::setInterface ( yarp::dev::IAnalogSensor is)

Definition at line 81 of file AnalogWrapper.cpp.


The documentation for this class was generated from the following file: