YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
FakeDepthCameraDriver_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 (2.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: Thu May 22 11:32:30 2025
12
13
14#ifndef FAKEDEPTHCAMERADRIVER_PARAMSPARSER_H
15#define FAKEDEPTHCAMERADRIVER_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
19#include <string>
20#include <cmath>
21
52{
53public:
56
57public:
58 const std::string m_device_classname = {"FakeDepthCameraDriver"};
59 const std::string m_device_name = {"fakeDepthCamera"};
60 bool m_parser_is_strict = false;
62 {
63 int major = 2;
64 int minor = 0;
65 };
67
69
70 const std::string m_rgb_h_defaultValue = {"480.0"};
71 const std::string m_rgb_w_defaultValue = {"640.0"};
72 const std::string m_dep_h_defaultValue = {"480.0"};
73 const std::string m_dep_w_defaultValue = {"640.0"};
74 const std::string m_accuracy_defaultValue = {"0.001"};
75 const std::string m_rgb_Vfov_defaultValue = {"50.0"};
76 const std::string m_rgb_Hfov_defaultValue = {"36.0"};
77 const std::string m_dep_Vfov_defaultValue = {"50.0"};
78 const std::string m_dep_Hfov_defaultValue = {"36.0"};
79 const std::string m_dep_near_defaultValue = {"0.2"};
80 const std::string m_dep_far_defaultValue = {"6.0"};
81
82 double m_rgb_h = {480.0};
83 double m_rgb_w = {640.0};
84 double m_dep_h = {480.0};
85 double m_dep_w = {640.0};
86 double m_accuracy = {0.001};
87 double m_rgb_Vfov = {50.0};
88 double m_rgb_Hfov = {36.0};
89 double m_dep_Vfov = {50.0};
90 double m_dep_Hfov = {36.0};
91 double m_dep_near = {0.2};
92 double m_dep_far = {6.0};
93
94 bool parseParams(const yarp::os::Searchable & config) override;
95 std::string getDeviceClassName() const override { return m_device_classname; }
96 std::string getDeviceName() const override { return m_device_name; }
97 std::string getDocumentationOfDeviceParams() const override;
98 std::vector<std::string> getListOfParams() const override;
99 bool getParamValue(const std::string& paramName, std::string& paramValue) const override;
100 std::string getConfiguration() const override;
101};
102
103#endif
This class is the parameters parser for class FakeDepthCameraDriver.
std::string getDocumentationOfDeviceParams() const override
Get the documentation of the DeviceDriver's parameters.
std::string getConfiguration() const override
Return the configuration of the device.
bool getParamValue(const std::string &paramName, std::string &paramValue) const override
Return the value (represented as a string) of the requested parameter.
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.
std::string getDeviceClassName() const override
Get the name of the DeviceDriver class.
std::vector< std::string > getListOfParams() const override
Return a list of all params used by the device.
~FakeDepthCameraDriver_ParamsParser() override=default
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