YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
argusCameraDriver_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: Wed Jul 3 11:11:06 2024
12
13
14#ifndef ARGUSCAMERADRIVER_PARAMSPARSER_H
15#define ARGUSCAMERADRIVER_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
19#include <string>
20#include <cmath>
21
47{
48public:
50 ~argusCameraDriver_ParamsParser() override = default;
51
52public:
53 const std::string m_device_classname = {"argusCameraDriver"};
54 const std::string m_device_name = {"argusCamera"};
55 bool m_parser_is_strict = false;
57 {
58 int major = 1;
59 int minor = 0;
60 };
62
63 const std::string m_d_defaultValue = {"0"};
64 const std::string m_period_defaultValue = {"0.033"};
65 const std::string m_rotation_defaultValue = {"0.0"};
66 const std::string m_width_defaultValue = {"640"};
67 const std::string m_height_defaultValue = {"480"};
68 const std::string m_rotation_with_crop_defaultValue = {"false"};
69
70 int m_d = {0};
71 double m_period = {0.033};
72 double m_rotation = {0.0};
73 int m_width = {640};
74 int m_height = {480};
75 bool m_rotation_with_crop = {false};
76
77 bool parseParams(const yarp::os::Searchable & config) override;
78 std::string getDeviceClassName() const override { return m_device_classname; }
79 std::string getDeviceName() const override { return m_device_name; }
80 std::string getDocumentationOfDeviceParams() const override;
81 std::vector<std::string> getListOfParams() const override;
82};
83
84#endif
This class is the parameters parser for class argusCameraDriver.
~argusCameraDriver_ParamsParser() override=default
std::string getDeviceName() const override
Get the name of the device (i.e.
std::string getDeviceClassName() const override
Get the name of the DeviceDriver class.
bool parseParams(const yarp::os::Searchable &config) override
Parse the DeviceDriver parameters.
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.
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