YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
RgbdSensor_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 (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: Mon Sep 2 10:47:31 2024
12
13
14#ifndef RGBDSENSOR_NWS_ROS2_PARAMSPARSER_H
15#define RGBDSENSOR_NWS_ROS2_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
19#include <string>
20#include <cmath>
21
48{
49public:
52
53public:
54 const std::string m_device_classname = {"RgbdSensor_nws_ros2"};
55 const std::string m_device_name = {"rgbdSensor_nws_ros2"};
56 bool m_parser_is_strict = false;
58 {
59 int major = 1;
60 int minor = 0;
61 };
63
64 const std::string m_period_defaultValue = {"0.02"};
65 const std::string m_node_name_defaultValue = {""};
66 const std::string m_color_topic_name_defaultValue = {""};
67 const std::string m_depth_topic_name_defaultValue = {""};
68 const std::string m_force_info_synch_defaultValue = {"0"};
69 const std::string m_depth_frame_id_defaultValue = {""};
70 const std::string m_color_frame_id_defaultValue = {""};
71
72 double m_period = {0.02};
73 std::string m_node_name = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
74 std::string m_color_topic_name = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
75 std::string m_depth_topic_name = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
77 std::string m_depth_frame_id = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
78 std::string m_color_frame_id = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
79
80 bool parseParams(const yarp::os::Searchable & config) override;
81 std::string getDeviceClassName() const override { return m_device_classname; }
82 std::string getDeviceName() const override { return m_device_name; }
83 std::string getDocumentationOfDeviceParams() const override;
84 std::vector<std::string> getListOfParams() const override;
85};
86
87#endif
This class is the parameters parser for class RgbdSensor_nws_ros2.
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.
std::string getDocumentationOfDeviceParams() const override
Get the documentation of the DeviceDriver's parameters.
~RgbdSensor_nws_ros2_ParamsParser() override=default
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.
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