YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
FrameGrabberOf_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_FRAMEGRABBERIMAGE_RESPONDER_H
7#define YARP_FRAMEGRABBER_PROTOCOL_FRAMEGRABBERIMAGE_RESPONDER_H
8
11
12#include "CameraVocabs.h"
13
15
16template <typename ImageType,
21{
22private:
23 yarp::dev::IFrameGrabberOf<ImageType>* iFrameGrabberOf {nullptr};
24
25public:
27 ~FrameGrabberOf_Responder() override = default;
28
30 bool respond(const yarp::os::Bottle& cmd, yarp::os::Bottle& response) override;
31};
32
33} // namespace yarp::proto::framegrabber
34
36
37#endif // YARP_FRAMEGRABBER_PROTOCOL_FRAMEGRABBERIMAGE_RESPONDER_H
constexpr yarp::conf::vocab32_t VOCAB_RGB_IMAGE
constexpr yarp::conf::vocab32_t VOCAB_FRAMEGRABBER_IMAGE
yarp::sig::ImageOf< yarp::sig::PixelRgb > ImageType
Definition ImageType.h:24
A cheap and cheerful framework for human readable/writable forms of messages to devices.
Read a YARP-format image (of a specific type) from a device.
A simple collection of objects that can be described and transmitted in a portable way.
Definition Bottle.h:64
bool configure(yarp::dev::IFrameGrabberOf< ImageType > *interface)
bool respond(const yarp::os::Bottle &cmd, yarp::os::Bottle &response) override
Respond to a message.
std::int32_t vocab32_t
Definition numeric.h:78