yarp-devices
Loading...
Searching...
No Matches
TextilesHand_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 TEXTILESHAND_PARAMSPARSER_H
15#define TEXTILESHAND_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
18#include <yarp/dev/IDeviceDriverParams.h>
19#include <string>
20#include <cmath>
21
41class TextilesHand_ParamsParser : public yarp::dev::IDeviceDriverParams
42{
43public:
45 ~TextilesHand_ParamsParser() override = default;
46
47public:
48 const std::string m_device_classname = {"TextilesHand"};
49 const std::string m_device_name = {"TextilesHand"};
50 bool m_parser_is_strict = false;
52 {
53 int major = 1;
54 int minor = 0;
55 };
56 const parser_version_type m_parser_version = {};
57
58 const std::string m_port_defaultValue = {"/dev/ttyUSB0"};
59
60 std::string m_port = {"/dev/ttyUSB0"};
61
62 bool parseParams(const yarp::os::Searchable & config) override;
63 std::string getDeviceClassName() const override { return m_device_classname; }
64 std::string getDeviceName() const override { return m_device_name; }
65 std::string getDocumentationOfDeviceParams() const override;
66 std::vector<std::string> getListOfParams() const override;
67};
68
69#endif
Definition TextilesHand_ParamsParser.h:42
Definition TextilesHand_ParamsParser.h:52