yarp-devices
Loading...
Searching...
No Matches
Jr3Pci_ParamsParser.h
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: Sun Apr 20 14:33:40 2025
12
13
14#ifndef JR3PCI_PARAMSPARSER_H
15#define JR3PCI_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
18#include <yarp/dev/IDeviceDriverParams.h>
19#include <string>
20#include <cmath>
21
43class Jr3Pci_ParamsParser : public yarp::dev::IDeviceDriverParams
44{
45public:
47 ~Jr3Pci_ParamsParser() override = default;
48
49public:
50 const std::string m_device_classname = {"Jr3Pci"};
51 const std::string m_device_name = {"Jr3Pci"};
52 bool m_parser_is_strict = false;
54 {
55 int major = 1;
56 int minor = 0;
57 };
58 const parser_version_type m_parser_version = {};
59
60 const std::string m_names_defaultValue = {"(ch0 ch1 ch2 ch3)"};
61 const std::string m_filter_defaultValue = {"0"};
62 const std::string m_levogyrate_defaultValue = {"false"};
63
64 std::vector<std::string> m_names = { }; //Default values for lists are managed in the class constructor. It is highly recommended to provide a suggested value also for optional string parameters.
65 int m_filter = {0};
66 bool m_levogyrate = {false};
67
68 bool parseParams(const yarp::os::Searchable & config) override;
69 std::string getDeviceClassName() const override { return m_device_classname; }
70 std::string getDeviceName() const override { return m_device_name; }
71 std::string getDocumentationOfDeviceParams() const override;
72 std::vector<std::string> getListOfParams() const override;
73};
74
75#endif
Definition Jr3Pci_ParamsParser.h:44
Definition Jr3Pci_ParamsParser.h:54