iCub-main
|
This class is the parameters parser for class FakeRawValuesPublisher. More...
#include <FakeRawValuesPublisher_ParamsParser.h>
Classes | |
struct | parser_version_type |
Public Member Functions | |
FakeRawValuesPublisher_ParamsParser () | |
~FakeRawValuesPublisher_ParamsParser () override=default | |
bool | parseParams (const yarp::os::Searchable &config) override |
std::string | getDeviceClassName () const override |
std::string | getDeviceName () const override |
std::string | getDocumentationOfDeviceParams () const override |
std::vector< std::string > | getListOfParams () const override |
Public Attributes | |
const std::string | m_device_classname = {"FakeRawValuesPublisher"} |
const std::string | m_device_name = {"fakeRawValuesPublisher"} |
bool | m_parser_is_strict = false |
const parser_version_type | m_parser_version = {} |
const std::string | m_name_defaultValue = {""} |
const std::string | m_njomos_defaultValue = {""} |
const std::string | m_threshold_defaultValue = {""} |
std::string | m_name = {} |
int | m_njomos = {0} |
int | m_threshold = {0} |
This class is the parameters parser for class FakeRawValuesPublisher.
These are the used parameters:
Group name | Parameter name | Type | Units | Default Value | Required | Description | Notes |
---|---|---|---|---|---|---|---|
- | name | string | - | - | 1 | Name of the device | - |
- | njomos | int | - | - | 1 | Number of joint or motors to be instantiated | - |
- | threshold | int | - | - | 1 | Threshold used for defining the amplitude of the sawthooth curve that simulates periodic raw encoder data | - |
The device can be launched by yarpdev using one of the following examples (with and without all optional parameters):
Definition at line 43 of file FakeRawValuesPublisher_ParamsParser.h.
FakeRawValuesPublisher_ParamsParser::FakeRawValuesPublisher_ParamsParser | ( | ) |
Definition at line 23 of file FakeRawValuesPublisher_ParamsParser.cpp.
|
overridedefault |
|
inlineoverride |
Definition at line 69 of file FakeRawValuesPublisher_ParamsParser.h.
|
inlineoverride |
Definition at line 70 of file FakeRawValuesPublisher_ParamsParser.h.
|
override |
Definition at line 125 of file FakeRawValuesPublisher_ParamsParser.cpp.
|
override |
Definition at line 28 of file FakeRawValuesPublisher_ParamsParser.cpp.
|
override |
Definition at line 38 of file FakeRawValuesPublisher_ParamsParser.cpp.
const std::string FakeRawValuesPublisher_ParamsParser::m_device_classname = {"FakeRawValuesPublisher"} |
Definition at line 50 of file FakeRawValuesPublisher_ParamsParser.h.
const std::string FakeRawValuesPublisher_ParamsParser::m_device_name = {"fakeRawValuesPublisher"} |
Definition at line 51 of file FakeRawValuesPublisher_ParamsParser.h.
std::string FakeRawValuesPublisher_ParamsParser::m_name = {} |
Definition at line 64 of file FakeRawValuesPublisher_ParamsParser.h.
const std::string FakeRawValuesPublisher_ParamsParser::m_name_defaultValue = {""} |
Definition at line 60 of file FakeRawValuesPublisher_ParamsParser.h.
int FakeRawValuesPublisher_ParamsParser::m_njomos = {0} |
Definition at line 65 of file FakeRawValuesPublisher_ParamsParser.h.
const std::string FakeRawValuesPublisher_ParamsParser::m_njomos_defaultValue = {""} |
Definition at line 61 of file FakeRawValuesPublisher_ParamsParser.h.
bool FakeRawValuesPublisher_ParamsParser::m_parser_is_strict = false |
Definition at line 52 of file FakeRawValuesPublisher_ParamsParser.h.
const parser_version_type FakeRawValuesPublisher_ParamsParser::m_parser_version = {} |
Definition at line 58 of file FakeRawValuesPublisher_ParamsParser.h.
int FakeRawValuesPublisher_ParamsParser::m_threshold = {0} |
Definition at line 66 of file FakeRawValuesPublisher_ParamsParser.h.
const std::string FakeRawValuesPublisher_ParamsParser::m_threshold_defaultValue = {""} |
Definition at line 62 of file FakeRawValuesPublisher_ParamsParser.h.