#include <networkWrappers/RGBDSensor_nws_yarp/RgbdSensor_nws_yarp.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. | |
![]() | |
DeviceResponder () | |
Constructor. | |
void | addUsage (const char *txt, const char *explain=nullptr) |
Add information about a message that the respond() method understands. | |
void | addUsage (const yarp::os::Bottle &bot, const char *explain=nullptr) |
Add information about a message that the respond() method understands. | |
bool | read (yarp::os::ConnectionReader &connection) override |
Handler for reading messages from the network, and passing them on to the respond() method. | |
void | onRead (yarp::os::Bottle &v) override |
Alternative handler for reading messages from the network, and passing them on to the respond() method. | |
void | makeUsage () |
Regenerate usage information. | |
void | attach (yarp::os::TypedReader< yarp::os::Bottle > &source) |
Attach this object to a source of messages. | |
![]() | |
virtual | ~PortReader () |
Destructor. | |
virtual Type | getReadType () const |
![]() | |
virtual | ~TypedReaderCallback () |
Destructor. | |
virtual void | onRead (yarp::os::Bottle &datum, const yarp::os::TypedReader< yarp::os::Bottle > &reader) |
Callback method. | |
Definition at line 48 of file RgbdSensor_nws_yarp.h.
RGBDSensorParser::RGBDSensorParser | ( | ) |
Definition at line 28 of file RgbdSensor_nws_yarp.cpp.
|
overridedefault |
bool RGBDSensorParser::configure | ( | yarp::dev::IFrameGrabberControls * | _fgCtrl | ) |
Definition at line 49 of file RgbdSensor_nws_yarp.cpp.
bool RGBDSensorParser::configure | ( | yarp::dev::IRGBDSensor * | interface | ) |
Definition at line 33 of file RgbdSensor_nws_yarp.cpp.
bool RGBDSensorParser::configure | ( | yarp::dev::IRgbVisualParams * | rgbInterface, |
yarp::dev::IDepthVisualParams * | depthInterface | ||
) |
Definition at line 42 of file RgbdSensor_nws_yarp.cpp.
|
overridevirtual |
Respond to a message.
command | the message |
reply | the response |
Reimplemented from yarp::dev::DeviceResponder.
Definition at line 54 of file RgbdSensor_nws_yarp.cpp.