iCub-main
Loading...
Searching...
No Matches
FakeRawValuesPublisher_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 Oct 4 16:28:45 2024
12
13
14#ifndef FAKERAWVALUESPUBLISHER_PARAMSPARSER_H
15#define FAKERAWVALUESPUBLISHER_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
18// #include <yarp/dev/IDeviceDriverParams.h>
19#include <string>
20#include <cmath>
21#include <vector>
22
45{
46public:
49
50public:
51 const std::string m_device_classname = {"FakeRawValuesPublisher"};
52 const std::string m_device_name = {"fakeRawValuesPublisher"};
53 bool m_parser_is_strict = false;
55 {
56 int major = 1;
57 int minor = 0;
58 };
60
61 const std::string m_name_defaultValue = {""};
62 const std::string m_njomos_defaultValue = {""};
63 const std::string m_threshold_defaultValue = {""};
64
65 std::string m_name = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
66 int m_njomos = {0}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
67 int m_threshold = {0}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
68
69 bool parseParams(const yarp::os::Searchable & config);
70 std::string getDeviceClassName() const { return m_device_classname; }
71 std::string getDeviceName() const { return m_device_name; }
72 std::string getDocumentationOfDeviceParams() const;
73 std::vector<std::string> getListOfParams() const;
74};
75
76#endif
This class is the parameters parser for class FakeRawValuesPublisher.
bool parseParams(const yarp::os::Searchable &config)