YARP
Yet Another Robot Platform
yarp::proto::framegrabber::FrameGrabberControlsDC1394_Responder Class Reference

#include <framegrabber_protocol/yarp/proto/framegrabber/FrameGrabberControlsDC1394_Responder.h>

+ Inheritance diagram for yarp::proto::framegrabber::FrameGrabberControlsDC1394_Responder:

Public Member Functions

 FrameGrabberControlsDC1394_Responder ()=default
 
 ~FrameGrabberControlsDC1394_Responder () override=default
 
bool configure (yarp::dev::IFrameGrabberControlsDC1394 *interface)
 
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...
 
virtual bool respond (const yarp::os::Bottle &command, yarp::os::Bottle &reply)
 Respond to a message. 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 bool read (ConnectionReader &reader)=0
 Read this object from a network connection. 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...
 

Detailed Description

Definition at line 15 of file FrameGrabberControlsDC1394_Responder.h.

Constructor & Destructor Documentation

◆ FrameGrabberControlsDC1394_Responder()

yarp::proto::framegrabber::FrameGrabberControlsDC1394_Responder::FrameGrabberControlsDC1394_Responder ( )
default

◆ ~FrameGrabberControlsDC1394_Responder()

yarp::proto::framegrabber::FrameGrabberControlsDC1394_Responder::~FrameGrabberControlsDC1394_Responder ( )
overridedefault

Member Function Documentation

◆ configure()

bool FrameGrabberControlsDC1394_Responder::configure ( yarp::dev::IFrameGrabberControlsDC1394 interface)

Definition at line 14 of file FrameGrabberControlsDC1394_Responder.cpp.

◆ respond()

bool FrameGrabberControlsDC1394_Responder::respond ( const yarp::os::Bottle command,
yarp::os::Bottle reply 
)
overridevirtual

Respond to a message.

Parameters
commandthe message
replythe response
Returns
true if there was no critical failure

Reimplemented from yarp::dev::DeviceResponder.

Definition at line 20 of file FrameGrabberControlsDC1394_Responder.cpp.


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