yarp-devices
Loading...
Searching...
No Matches
CuiAbsolute_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: Sun Apr 20 14:33:40 2025
12
13
14#ifndef CUIABSOLUTE_PARAMSPARSER_H
15#define CUIABSOLUTE_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
18#include <yarp/dev/IDeviceDriverParams.h>
19#include <string>
20#include <cmath>
21
46class CuiAbsolute_ParamsParser : public yarp::dev::IDeviceDriverParams
47{
48public:
50 ~CuiAbsolute_ParamsParser() override = default;
51
52public:
53 const std::string m_device_classname = {"CuiAbsolute"};
54 const std::string m_device_name = {"CuiAbsolute"};
55 bool m_parser_is_strict = false;
57 {
58 int major = 1;
59 int minor = 0;
60 };
61 const parser_version_type m_parser_version = {};
62
63 const std::string m_canId_defaultValue = {""};
64 const std::string m_reverse_defaultValue = {""};
65 const std::string m_timeout_defaultValue = {"0.25"};
66 const std::string m_maxRetries_defaultValue = {"10"};
67 const std::string m_mode_defaultValue = {""};
68 const std::string m_pushDelay_defaultValue = {"0"};
69
70 int m_canId = {0}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
71 bool m_reverse = {false}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
72 double m_timeout = {0.25};
73 int m_maxRetries = {10};
74 std::string m_mode = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
75 int m_pushDelay = {0};
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
Definition CuiAbsolute_ParamsParser.h:47
Definition CuiAbsolute_ParamsParser.h:57