YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
FakeFrameWriter.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025-2025 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: LGPL-2.1-or-later
4 */
5
6#ifndef YARP_OPENCV_DEVICE_OPENCVWRITER_H
7#define YARP_OPENCV_DEVICE_OPENCVWRITER_H
8
9#include <yarp/os/Property.h>
12#include <yarp/os/Stamp.h>
13
15
27{
28public:
29
31 virtual ~FakeFrameWriter() {}
32
33
34 bool open(yarp::os::Searchable & config) override;
35 bool close() override;
37
38protected:
39 bool m_isInitialized =false;
40};
41
42#endif // YARP_OPENCV_DEVICE_OPENCVWRITER_H
This class is the parameters parser for class FakeFrameWriter.
FakeFrameWriter: An image frame writer for testing purposes
bool putImage(yarp::sig::ImageOf< yarp::sig::PixelRgb > &image) override
Write an image to the device.
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
bool close() override
Close the DeviceDriver.
virtual ~FakeFrameWriter()
Interface implemented by all device drivers.
Read a YARP-format image to a device.
A base class for nested structures that can be searched.
Definition Searchable.h:31
Typed image class.
Definition Image.h:605