YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
FrameGrabberCropper_ParamsParser.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2023-2023 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: LGPL-2.1-or-later
4 */
5
6
7// Generated by yarpDeviceParamParserGenerator (1.0)
8// This is an automatically generated file. Please do not edit it.
9// It will be re-generated if the cmake flag ALLOW_DEVICE_PARAM_PARSER_GERNERATION is ON.
10
11// Generated on: Fri Apr 5 16:06:46 2024
12
13
14#ifndef FRAMEGRABBERCROPPER_PARAMSPARSER_H
15#define FRAMEGRABBERCROPPER_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
19#include <string>
20#include <cmath>
21
46{
47public:
50
51public:
52 const std::string m_device_classname = {"FrameGrabberCropper"};
53 const std::string m_device_name = {"frameGrabberCropper"};
54 bool m_parser_is_strict = false;
56 {
57 int major = 1;
58 int minor = 0;
59 };
61
62 const std::string m_x1_defaultValue = {"0"};
63 const std::string m_y1_defaultValue = {"0"};
64 const std::string m_x2_defaultValue = {"100"};
65 const std::string m_y2_defaultValue = {"100"};
66 const std::string m_forwardRgbVisualParams_defaultValue = {"false"};
67
68 int m_x1 = {0};
69 int m_y1 = {0};
70 int m_x2 = {100};
71 int m_y2 = {100};
73
74 bool parseParams(const yarp::os::Searchable & config) override;
75 std::string getDeviceClassName() const override { return m_device_classname; }
76 std::string getDeviceName() const override { return m_device_name; }
77 std::string getDocumentationOfDeviceParams() const override;
78 std::vector<std::string> getListOfParams() const override;
79};
80
81#endif
This class is the parameters parser for class FrameGrabberCropper.
std::string getDocumentationOfDeviceParams() const override
Get the documentation of the DeviceDriver's parameters.
std::vector< std::string > getListOfParams() const override
Return a list of all params used by the device.
std::string getDeviceClassName() const override
Get the name of the DeviceDriver class.
~FrameGrabberCropper_ParamsParser() override=default
bool parseParams(const yarp::os::Searchable &config) override
Parse the DeviceDriver parameters.
std::string getDeviceName() const override
Get the name of the device (i.e.
An interface for the management of the parameters of a DeviceDriver.
A base class for nested structures that can be searched.
Definition Searchable.h:31