#include <RGBDSensorWrapper/RGBDSensorWrapper.h>
Public Member Functions | |
RGBDSensorParser () | |
~RGBDSensorParser () override=default | |
bool | configure (yarp::dev::IRGBDSensor *interface) |
bool | configure (yarp::dev::IRgbVisualParams *rgbInterface, yarp::dev::IDepthVisualParams *depthInterface) |
bool | configure (yarp::dev::IFrameGrabberControls *_fgCtrl) |
bool | respond (const yarp::os::Bottle &cmd, yarp::os::Bottle &response) override |
Respond to a message. More... | |
Public Member Functions inherited from yarp::dev::DeviceResponder | |
DeviceResponder () | |
Constructor. More... | |
void | addUsage (const char *txt, const char *explain=nullptr) |
Add information about a message that the respond() method understands. More... | |
void | addUsage (const yarp::os::Bottle &bot, const char *explain=nullptr) |
Add information about a message that the respond() method understands. More... | |
bool | read (yarp::os::ConnectionReader &connection) override |
Handler for reading messages from the network, and passing them on to the respond() method. More... | |
void | onRead (yarp::os::Bottle &v) override |
Alternative handler for reading messages from the network, and passing them on to the respond() method. More... | |
void | makeUsage () |
Regenerate usage information. More... | |
void | attach (yarp::os::TypedReader< yarp::os::Bottle > &source) |
Attach this object to a source of messages. More... | |
Public Member Functions inherited from yarp::os::PortReader | |
virtual | ~PortReader () |
Destructor. More... | |
virtual Type | getReadType () const |
Public Member Functions inherited from yarp::os::TypedReaderCallback< yarp::os::Bottle > | |
virtual | ~TypedReaderCallback () |
Destructor. More... | |
virtual void | onRead (yarp::os::Bottle &datum) |
Callback method. More... | |
virtual void | onRead (yarp::os::Bottle &datum, const yarp::os::TypedReader< yarp::os::Bottle > &reader) |
Callback method. More... | |
Definition at line 66 of file RGBDSensorWrapper.h.
RGBDSensorParser::RGBDSensorParser | ( | ) |
Definition at line 33 of file RGBDSensorWrapper.cpp.
|
overridedefault |
bool RGBDSensorParser::configure | ( | yarp::dev::IFrameGrabberControls * | _fgCtrl | ) |
Definition at line 54 of file RGBDSensorWrapper.cpp.
bool RGBDSensorParser::configure | ( | yarp::dev::IRGBDSensor * | interface | ) |
Definition at line 38 of file RGBDSensorWrapper.cpp.
bool RGBDSensorParser::configure | ( | yarp::dev::IRgbVisualParams * | rgbInterface, |
yarp::dev::IDepthVisualParams * | depthInterface | ||
) |
Definition at line 47 of file RGBDSensorWrapper.cpp.
|
overridevirtual |
Respond to a message.
command | the message |
reply | the response |
Reimplemented from yarp::dev::DeviceResponder.
Definition at line 59 of file RGBDSensorWrapper.cpp.