tools
Loading...
Searching...
No Matches
RealToSimControlBoard_ParamsParser.h
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: Thu Apr 17 12:02:47 2025
12
13
14#ifndef REALTOSIMCONTROLBOARD_PARAMSPARSER_H
15#define REALTOSIMCONTROLBOARD_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
18#include <yarp/dev/IDeviceDriverParams.h>
19#include <string>
20#include <cmath>
21
45class RealToSimControlBoard_ParamsParser : public yarp::dev::IDeviceDriverParams
46{
47public:
49 ~RealToSimControlBoard_ParamsParser() override = default;
50
51public:
52 const std::string m_device_classname = {"RealToSimControlBoard"};
53 const std::string m_device_name = {"RealToSimControlBoard"};
54 bool m_parser_is_strict = false;
56 {
57 int major = 1;
58 int minor = 0;
59 };
60 const parser_version_type m_parser_version = {};
61
62 const std::string m_modePosVel_defaultValue = {"0"};
63 const std::string m_remotes_defaultValue = {""};
64 const std::string m_remotePrefix_defaultValue = {""};
65 const std::string m_remoteSuffix_defaultValue = {""};
66 const std::string m_localSuffix_defaultValue = {""};
67
68 int m_modePosVel = {0};
69 std::vector<std::string> m_remotes = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
70 std::string m_remotePrefix = {}; //This default value of this string is an empty string. It is highly recommended to provide a suggested value also for optional string parameters.
71 std::string m_remoteSuffix = {}; //This default value of this string is an empty string. It is highly recommended to provide a suggested value also for optional string parameters.
72 std::string m_localSuffix = {}; //This default value of this string is an empty string. It is highly recommended to provide a suggested value also for optional string parameters.
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
Definition RealToSimControlBoard_ParamsParser.h:46
Definition RealToSimControlBoard_ParamsParser.h:56