YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
Map2D_nwc_yarp_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:42 2025
12
13
14#ifndef MAP2D_NWC_YARP_PARAMSPARSER_H
15#define MAP2D_NWC_YARP_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
19#include <string>
20#include <cmath>
21
44{
45public:
47 ~Map2D_nwc_yarp_ParamsParser() override = default;
48
49public:
50 const std::string m_device_classname = {"Map2D_nwc_yarp"};
51 const std::string m_device_name = {"map2D_nwc_yarp"};
52 bool m_parser_is_strict = false;
54 {
55 int major = 2;
56 int minor = 0;
57 };
59
61
62 const std::string m_local_defaultValue = {""};
63 const std::string m_remote_defaultValue = {""};
64 const std::string m_carrier_defaultValue = {"fast_tcp"};
65
66 std::string m_local = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
67 std::string m_remote = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
68 std::string m_carrier = {"fast_tcp"};
69
70 bool parseParams(const yarp::os::Searchable & config) override;
71 std::string getDeviceClassName() const override { return m_device_classname; }
72 std::string getDeviceName() const override { return m_device_name; }
73 std::string getDocumentationOfDeviceParams() const override;
74 std::vector<std::string> getListOfParams() const override;
75 bool getParamValue(const std::string& paramName, std::string& paramValue) const override;
76 std::string getConfiguration() const override;
77};
78
79#endif
This class is the parameters parser for class Map2D_nwc_yarp.
std::string getDeviceClassName() const override
Get the name of the DeviceDriver class.
bool parseParams(const yarp::os::Searchable &config) override
Parse the DeviceDriver parameters.
std::vector< std::string > getListOfParams() const override
Return a list of all params used by the device.
std::string getDeviceName() const override
Get the name of the device (i.e.
const parser_version_type m_parser_version
std::string getDocumentationOfDeviceParams() const override
Get the documentation of the DeviceDriver's parameters.
~Map2D_nwc_yarp_ParamsParser() override=default
bool getParamValue(const std::string &paramName, std::string &paramValue) const override
Return the value (represented as a string) of the requested parameter.
std::string getConfiguration() const override
Return the configuration of the device.
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