iCub-main
RawValuesPublisherClient_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 RAWVALUESPUBLISHERCLIENT_PARAMSPARSER_H
15 #define RAWVALUESPUBLISHERCLIENT_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 // class RawValuesPublisherClient_ParamsParser : public yarp::dev::IDeviceDriverParams
46 // {
48 {
49 public:
52 
53 public:
54  const std::string m_device_classname = {"RawValuesPublisherClient"};
55  const std::string m_device_name = {"rawValuesPublisherClient"};
56  bool m_parser_is_strict = false;
58  {
59  int major = 1;
60  int minor = 0;
61  };
63 
64  const std::string m_remote_defaultValue = {""};
65  const std::string m_local_defaultValue = {""};
66  const std::string m_externalConnection_defaultValue = {"false"};
67  const std::string m_carrier_defaultValue = {"tcp"};
68 
69  std::string m_remote = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
70  std::string m_local = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
71  bool m_externalConnection = {false};
72  std::string m_carrier = {"tcp"};
73 
74  bool parseParams(const yarp::os::Searchable & config);
75  std::string getDeviceClassName() const { return m_device_classname; }
76  std::string getDeviceName() const { return m_device_name; }
77  std::string getDocumentationOfDeviceParams() const;
78  std::vector<std::string> getListOfParams() const;
79 };
80 
81 #endif
This class is the parameters parser for class RawValuesPublisherClient.
bool parseParams(const yarp::os::Searchable &config)