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 {
13 namespace proto {
14 namespace framegrabber {
15 
18 {
19 private:
20  yarp::dev::IRgbVisualParams* iRgbVisual {nullptr};
21 
22 public:
24  ~RgbVisualParams_Responder() override = default;
25 
26  bool configure(yarp::dev::IRgbVisualParams* interface);
27  bool respond(const yarp::os::Bottle& cmd, yarp::os::Bottle& response) override;
28 };
29 
30 } // namespace framegrabber
31 } // namespace proto
32 } // namespace yarp
33 
34 #endif // YARP_FRAMEGRABBER_PROTOCOL_RGBVISUALPARAMS_RESPONDER_H
A cheap and cheerful framework for human readable/writable forms of messages to devices.
Definition: DeviceDriver.h:131
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:74
bool configure(yarp::dev::IRgbVisualParams *interface)
bool respond(const yarp::os::Bottle &cmd, yarp::os::Bottle &response) override
Respond to a message.
The main, catch-all namespace for YARP.
Definition: dirs.h:16