YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
DeviceTemplate_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//
9// This is an automatically generated file. Please do not edit it.
10// It will be re-generated if the cmake flag ALLOW_DEVICE_PARAM_PARSER_GERNERATION is ON.
11
12// Generated on: Thu Jan 25 14:38:34 2024
13
14
15#ifndef DEVICETEMPLATE_PARAMSPARSER_H
16#define DEVICETEMPLATE_PARAMSPARSER_H
17
18#include <yarp/os/Searchable.h>
20#include <string>
21
43{
44public:
45 ~DeviceTemplate_ParamsParser() override = default;
46
47public:
48 const std::string m_device_type = {"DeviceTemplate"};
49 bool m_parser_is_strict = false;
50 std::string m_dummy_group_dummy_param1 = {"dummy_default_value"};
51 double m_dummy_param2 = {9.81};
52
53 bool parseParams(const yarp::os::Searchable & config) override;
54 std::string getDeviceType() const override { return m_device_type; }
55 std::string getDocumentationOfDeviceParams() const override;
56 std::vector<std::string> getListOfParams() const override;
57};
58
59#endif
This class is the parameters parser for class DeviceTemplate.
bool parseParams(const yarp::os::Searchable &config) override
Parse the DeviceDriver parameters.
std::string getDeviceType() const override
std::vector< std::string > getListOfParams() const override
Return a list of all params used by the device.
std::string getDocumentationOfDeviceParams() const override
Get the documentation of the DeviceDriver's parameters.
~DeviceTemplate_ParamsParser() override=default
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