tools
Loading...
Searching...
No Matches
PlaybackThread_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: Thu Apr 17 12:02:47 2025
12
13
14#ifndef PLAYBACKTHREAD_PARAMSPARSER_H
15#define PLAYBACKTHREAD_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
18#include <yarp/dev/IDeviceDriverParams.h>
19#include <string>
20#include <cmath>
21
44class PlaybackThread_ParamsParser : public yarp::dev::IDeviceDriverParams
45{
46public:
48 ~PlaybackThread_ParamsParser() override = default;
49
50public:
51 const std::string m_device_classname = {"PlaybackThread"};
52 const std::string m_device_name = {"PlaybackThread"};
53 bool m_parser_is_strict = false;
55 {
56 int major = 1;
57 int minor = 0;
58 };
59 const parser_version_type m_parser_version = {};
60
61 const std::string m_file_defaultValue = {"test.txt"};
62 const std::string m_timeIdx_defaultValue = {"0"};
63 const std::string m_timeScale_defaultValue = {"1.0"};
64 const std::string m_mask_defaultValue = {""};
65
66 std::string m_file = {"test.txt"};
67 int m_timeIdx = {0};
68 double m_timeScale = {1.0};
69 std::vector<int> m_mask = {}; //This default value is autogenerated. It is highly recommended to provide a suggested value also for mandatory parameters.
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
Definition PlaybackThread_ParamsParser.h:45
Definition PlaybackThread_ParamsParser.h:55