yarp-devices
Loading...
Searching...
No Matches
CanBusBroker_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 CANBUSBROKER_PARAMSPARSER_H
15#define CANBUSBROKER_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
18#include <yarp/dev/IDeviceDriverParams.h>
19#include <string>
20#include <cmath>
21
42class CanBusBroker_ParamsParser : public yarp::dev::IDeviceDriverParams
43{
44public:
46 ~CanBusBroker_ParamsParser() override = default;
47
48public:
49 const std::string m_device_classname = {"CanBusBroker"};
50 const std::string m_device_name = {"CanBusBroker"};
51 bool m_parser_is_strict = false;
53 {
54 int major = 1;
55 int minor = 0;
56 };
57 const parser_version_type m_parser_version = {};
58
59 const std::string m_buses_defaultValue = {""};
60 const std::string m_syncPeriod_defaultValue = {"0.0"};
61
62 std::vector<std::string> m_buses = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
63 double m_syncPeriod = {0.0};
64
65 bool parseParams(const yarp::os::Searchable & config) override;
66 std::string getDeviceClassName() const override { return m_device_classname; }
67 std::string getDeviceName() const override { return m_device_name; }
68 std::string getDocumentationOfDeviceParams() const override;
69 std::vector<std::string> getListOfParams() const override;
70};
71
72#endif
Definition CanBusBroker_ParamsParser.h:43
Definition CanBusBroker_ParamsParser.h:53