YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
FakeLaserWithMotor_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: Thu Mar 7 17:59:42 2024
12
13
14#ifndef FAKELASERWITHMOTOR_PARAMSPARSER_H
15#define FAKELASERWITHMOTOR_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
19#include <string>
20#include <cmath>
21
52{
53public:
56
57public:
58 const std::string m_device_classname = {"FakeLaserWithMotor"};
59 const std::string m_device_name = {"fakeLaserWithMotor"};
60 bool m_parser_is_strict = false;
62 {
63 int major = 1;
64 int minor = 0;
65 };
67
68 const std::string m_test_defaultValue = {"use_pattern"};
69 const std::string m_localization_port_defaultValue = {"/fakeLaser/location:i"};
70 const std::string m_localization_server_defaultValue = {"/localizationServer"};
71 const std::string m_localization_client_defaultValue = {"/fakeLaser/localizationClient"};
72 const std::string m_localization_device_defaultValue = {"localization2DClient"};
73 const std::string m_MAP_MODE_map_file_defaultValue = {""};
74 const std::string m_MAP_MODE_map_context_defaultValue = {""};
75 const std::string m_clip_max_defaultValue = {"3.5"};
76 const std::string m_clip_min_defaultValue = {"0.1"};
77 const std::string m_GENERAL_period_defaultValue = {"0.02"};
79
80 std::string m_test = {"use_pattern"};
81 std::string m_localization_port = {"/fakeLaser/location:i"};
82 std::string m_localization_server = {"/localizationServer"};
83 std::string m_localization_client = {"/fakeLaser/localizationClient"};
84 std::string m_localization_device = {"localization2DClient"};
85 std::string m_MAP_MODE_map_file = {}; //This default value of this string is an empty string. It is highly recommended to provide a suggested value also for optional string parameters.
86 std::string m_MAP_MODE_map_context = {}; //This default value of this string is an empty string. It is highly recommended to provide a suggested value also for optional string parameters.
87 double m_clip_max = {3.5};
88 double m_clip_min = {0.1};
89 double m_GENERAL_period = {0.02};
91
92 bool parseParams(const yarp::os::Searchable & config) override;
93 std::string getDeviceClassName() const override { return m_device_classname; }
94 std::string getDeviceName() const override { return m_device_name; }
95 std::string getDocumentationOfDeviceParams() const override;
96 std::vector<std::string> getListOfParams() const override;
97};
98
99#endif
This class is the parameters parser for class FakeLaserWithMotor.
~FakeLaserWithMotor_ParamsParser() override=default
std::string getDocumentationOfDeviceParams() const override
Get the documentation of the DeviceDriver's parameters.
std::string getDeviceName() const override
Get the name of the device (i.e.
std::string getDeviceClassName() const override
Get the name of the DeviceDriver class.
std::vector< std::string > getListOfParams() const override
Return a list of all params used by the device.
bool parseParams(const yarp::os::Searchable &config) override
Parse the DeviceDriver parameters.
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