YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
FakeIMU_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:41 2024
12
13
14#ifndef FAKEIMU_PARAMSPARSER_H
15#define FAKEIMU_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
19#include <string>
20#include <cmath>
21
45{
46public:
48 ~FakeIMU_ParamsParser() override = default;
49
50public:
51 const std::string m_device_classname = {"FakeIMU"};
52 const std::string m_device_name = {"fakeIMU"};
53 bool m_parser_is_strict = false;
55 {
56 int major = 1;
57 int minor = 0;
58 };
60
61 const std::string m_period_defaultValue = {"10"};
62 const std::string m_constantValue_defaultValue = {"false"};
63 const std::string m_sensorName_defaultValue = {"sensorName"};
64 const std::string m_frameName_defaultValue = {"frameName"};
65
66 int m_period = {10};
67 bool m_constantValue = {false};
68 std::string m_sensorName = {"sensorName"};
69 std::string m_frameName = {"frameName"};
70
71 bool parseParams(const yarp::os::Searchable & config) override;
72 std::string getDeviceClassName() const override { return m_device_classname; }
73 std::string getDeviceName() const override { return m_device_name; }
74 std::string getDocumentationOfDeviceParams() const override;
75 std::vector<std::string> getListOfParams() const override;
76};
77
78#endif
This class is the parameters parser for class FakeIMU.
std::string getDocumentationOfDeviceParams() const override
Get the documentation of the DeviceDriver's parameters.
const std::string m_period_defaultValue
const std::string m_device_classname
const std::string m_frameName_defaultValue
std::vector< std::string > getListOfParams() const override
Return a list of all params used by the device.
std::string getDeviceClassName() const override
Get the name of the DeviceDriver class.
const std::string m_constantValue_defaultValue
~FakeIMU_ParamsParser() override=default
bool parseParams(const yarp::os::Searchable &config) override
Parse the DeviceDriver parameters.
const std::string m_device_name
std::string getDeviceName() const override
Get the name of the device (i.e.
const parser_version_type m_parser_version
const std::string m_sensorName_defaultValue
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