YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
SimulatedWorld_nws_ros2_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: Wed Feb 25 10:20:51 2026
12
13
14#ifndef SIMULATEDWORLD_NWS_ROS2_PARAMSPARSER_H
15#define SIMULATEDWORLD_NWS_ROS2_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
19#include <string>
20#include <cmath>
21
60{
61public:
64
65public:
66 const std::string m_device_classname = {"SimulatedWorld_nws_ros2"};
67 const std::string m_device_name = {"simulatedWorld_nws_ros2"};
68 bool m_parser_is_strict = false;
70 {
71 int major = 2;
72 int minor = 0;
73 };
75
77
78 const std::string m_node_name_defaultValue = {"simulatedWorld_nws_ros2"};
79 const std::string m_namespace_defaultValue = {""};
80 const std::string m_makesphere_servicename_defaultValue = {"makeSphere"};
81 const std::string m_makebox_servicename_defaultValue = {"makeBox"};
82 const std::string m_makecylinder_servicename_defaultValue = {"makeCylinder"};
83 const std::string m_makeframe_servicename_defaultValue = {"makeFrame"};
84 const std::string m_makemodel_servicename_defaultValue = {"makeModel"};
85 const std::string m_makeactor_servicename_defaultValue = {"makeActor"};
86 const std::string m_changecolor_servicename_defaultValue = {"changeColor"};
87 const std::string m_setpose_servicename_defaultValue = {"setPose"};
88 const std::string m_enablegravity_servicename_defaultValue = {"enableGravity"};
89 const std::string m_enablecollision_servicename_defaultValue = {"enableCollision"};
90 const std::string m_getpose_servicename_defaultValue = {"getPose"};
91 const std::string m_deleteobject_servicename_defaultValue = {"deleteObject"};
92 const std::string m_deleteall_servicename_defaultValue = {"deleteAll"};
93 const std::string m_getlist_servicename_defaultValue = {"getList"};
94 const std::string m_attach_servicename_defaultValue = {"attach"};
95 const std::string m_detach_servicename_defaultValue = {"detach"};
96 const std::string m_rename_servicename_defaultValue = {"rename"};
97
98 std::string m_node_name = {"simulatedWorld_nws_ros2"};
99 std::string m_namespace = {}; //This default value of this string is an empty string. It is highly recommended to provide a suggested value also for optional string parameters.
100 std::string m_makesphere_servicename = {"makeSphere"};
101 std::string m_makebox_servicename = {"makeBox"};
102 std::string m_makecylinder_servicename = {"makeCylinder"};
103 std::string m_makeframe_servicename = {"makeFrame"};
104 std::string m_makemodel_servicename = {"makeModel"};
105 std::string m_makeactor_servicename = {"makeActor"};
106 std::string m_changecolor_servicename = {"changeColor"};
107 std::string m_setpose_servicename = {"setPose"};
108 std::string m_enablegravity_servicename = {"enableGravity"};
109 std::string m_enablecollision_servicename = {"enableCollision"};
110 std::string m_getpose_servicename = {"getPose"};
111 std::string m_deleteobject_servicename = {"deleteObject"};
112 std::string m_deleteall_servicename = {"deleteAll"};
113 std::string m_getlist_servicename = {"getList"};
114 std::string m_attach_servicename = {"attach"};
115 std::string m_detach_servicename = {"detach"};
116 std::string m_rename_servicename = {"rename"};
117
118 bool parseParams(const yarp::os::Searchable & config) override;
119 std::string getDeviceClassName() const override { return m_device_classname; }
120 std::string getDeviceName() const override { return m_device_name; }
121 std::string getDocumentationOfDeviceParams() const override;
122 std::vector<std::string> getListOfParams() const override;
123 bool getParamValue(const std::string& paramName, std::string& paramValue) const override;
124 std::string getConfiguration() const override;
125};
126
127#endif
This class is the parameters parser for class SimulatedWorld_nws_ros2.
~SimulatedWorld_nws_ros2_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 getDocumentationOfDeviceParams() const override
Get the documentation of the DeviceDriver's parameters.
bool parseParams(const yarp::os::Searchable &config) override
Parse the DeviceDriver 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.
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