YARP
Yet Another Robot Platform
RgbVisualParams_Responder.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 
6 #ifndef YARP_FRAMEGRABBER_PROTOCOL_RGBVISUALPARAMS_RESPONDER_H
7 #define YARP_FRAMEGRABBER_PROTOCOL_RGBVISUALPARAMS_RESPONDER_H
8 
11 
12 namespace yarp::proto::framegrabber {
13 
16 {
17 private:
18  yarp::dev::IRgbVisualParams* iRgbVisual {nullptr};
19 
20 public:
22  ~RgbVisualParams_Responder() override = default;
23 
24  bool configure(yarp::dev::IRgbVisualParams* interface);
25  bool respond(const yarp::os::Bottle& cmd, yarp::os::Bottle& response) override;
26 };
27 
28 } // namespace yarp::proto::framegrabber
29 
30 #endif // YARP_FRAMEGRABBER_PROTOCOL_RGBVISUALPARAMS_RESPONDER_H
A cheap and cheerful framework for human readable/writable forms of messages to devices.
Definition: DeviceDriver.h:151
An interface for retrieving intrinsic parameter from a rgb camera.
A simple collection of objects that can be described and transmitted in a portable way.
Definition: Bottle.h:73
bool configure(yarp::dev::IRgbVisualParams *interface)
bool respond(const yarp::os::Bottle &cmd, yarp::os::Bottle &response) override
Respond to a message.