YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
AudioRecorder_nws_yarp_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:44 2024
12
13
14#ifndef AUDIORECORDER_NWS_YARP_PARAMSPARSER_H
15#define AUDIORECORDER_NWS_YARP_PARAMSPARSER_H
16
17#include <yarp/os/Searchable.h>
19#include <string>
20#include <cmath>
21
49{
50public:
53
54public:
55 const std::string m_device_classname = {"AudioRecorder_nws_yarp"};
56 const std::string m_device_name = {"audioRecorder_nws_yarp"};
57 bool m_parser_is_strict = false;
59 {
60 int major = 1;
61 int minor = 0;
62 };
64
65 const std::string m_name_defaultValue = {"/audioRecorder_nws"};
66 const std::string m_period_defaultValue = {"0.02"};
67 const std::string m_debug_defaultValue = {"false"};
68 const std::string m_min_samples_over_network_defaultValue = {"11250"};
69 const std::string m_max_samples_over_network_defaultValue = {"11250"};
70 const std::string m_getSound_timeout_defaultValue = {"1.0"};
71 const std::string m_start_defaultValue = {"false"};
72 const std::string m_send_sound_on_stop_defaultValue = {"true"};
73
74 std::string m_name = {"/audioRecorder_nws"};
75 float m_period = {0.02};
76 bool m_debug = {false};
79 float m_getSound_timeout = {1.0};
80 bool m_start = {false};
81 bool m_send_sound_on_stop = {true};
82
83 bool parseParams(const yarp::os::Searchable & config) override;
84 std::string getDeviceClassName() const override { return m_device_classname; }
85 std::string getDeviceName() const override { return m_device_name; }
86 std::string getDocumentationOfDeviceParams() const override;
87 std::vector<std::string> getListOfParams() const override;
88};
89
90#endif
This class is the parameters parser for class AudioRecorder_nws_yarp.
~AudioRecorder_nws_yarp_ParamsParser() override=default
std::string getDeviceName() const override
Get the name of the device (i.e.
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.
std::string getDocumentationOfDeviceParams() const override
Get the documentation of the DeviceDriver's parameters.
bool parseParams(const yarp::os::Searchable &config) override
Parse the DeviceDriver parameters.
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