An abstract class that exposes the basic methods for sensors handling.
More...
#include <sensors.h>
|
| Sensor () |
| Constructor.
|
|
std::string | getName () const |
| Retrieve the sensor name.
|
|
virtual bool | configure (void *source, const yarp::os::Property &options)=0 |
| Configure the sensor.
|
|
virtual bool | getOutput (yarp::os::Value &in) const =0 |
| Retrieve the sensor raw output.
|
|
virtual | ~Sensor () |
| Destructor.
|
|
An abstract class that exposes the basic methods for sensors handling.
Definition at line 115 of file sensors.h.
◆ Sensor()
◆ ~Sensor()
virtual iCub::perception::Sensor::~Sensor |
( |
| ) |
|
|
inlinevirtual |
◆ configure()
virtual bool iCub::perception::Sensor::configure |
( |
void * |
source, |
|
|
const yarp::os::Property & |
options |
|
) |
| |
|
pure virtual |
◆ getName()
std::string iCub::perception::Sensor::getName |
( |
| ) |
const |
|
inline |
Retrieve the sensor name.
- Returns
- a string containing the sensor name.
Definition at line 132 of file sensors.h.
◆ getOutput()
virtual bool iCub::perception::Sensor::getOutput |
( |
yarp::os::Value & |
in | ) |
const |
|
pure virtual |
◆ configured
bool iCub::perception::Sensor::configured |
|
protected |
◆ name
std::string iCub::perception::Sensor::name |
|
protected |
◆ source
void* iCub::perception::Sensor::source |
|
protected |
The documentation for this class was generated from the following files:
- icub-main/src/libraries/perceptiveModels/include/iCub/perception/sensors.h
- icub-main/src/libraries/perceptiveModels/src/sensors.cpp