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 ()=default | |
bool | parseParams (const yarp::os::Searchable &config) |
std::string | getDeviceClassName () const |
std::string | getDeviceName () const |
std::string | getDocumentationOfDeviceParams () const |
std::vector< std::string > | getListOfParams () const |
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 44 of file FakeRawValuesPublisher_ParamsParser.h.
FakeRawValuesPublisher_ParamsParser::FakeRawValuesPublisher_ParamsParser | ( | ) |
Definition at line 23 of file FakeRawValuesPublisher_ParamsParser.cpp.
|
default |
|
inline |
Definition at line 70 of file FakeRawValuesPublisher_ParamsParser.h.
|
inline |
Definition at line 71 of file FakeRawValuesPublisher_ParamsParser.h.
std::string FakeRawValuesPublisher_ParamsParser::getDocumentationOfDeviceParams | ( | ) | const |
Definition at line 125 of file FakeRawValuesPublisher_ParamsParser.cpp.
std::vector< std::string > FakeRawValuesPublisher_ParamsParser::getListOfParams | ( | ) | const |
Definition at line 28 of file FakeRawValuesPublisher_ParamsParser.cpp.
bool FakeRawValuesPublisher_ParamsParser::parseParams | ( | const yarp::os::Searchable & | config | ) |
Definition at line 38 of file FakeRawValuesPublisher_ParamsParser.cpp.
const std::string FakeRawValuesPublisher_ParamsParser::m_device_classname = {"FakeRawValuesPublisher"} |
Definition at line 51 of file FakeRawValuesPublisher_ParamsParser.h.
const std::string FakeRawValuesPublisher_ParamsParser::m_device_name = {"fakeRawValuesPublisher"} |
Definition at line 52 of file FakeRawValuesPublisher_ParamsParser.h.
std::string FakeRawValuesPublisher_ParamsParser::m_name = {} |
Definition at line 65 of file FakeRawValuesPublisher_ParamsParser.h.
const std::string FakeRawValuesPublisher_ParamsParser::m_name_defaultValue = {""} |
Definition at line 61 of file FakeRawValuesPublisher_ParamsParser.h.
int FakeRawValuesPublisher_ParamsParser::m_njomos = {0} |
Definition at line 66 of file FakeRawValuesPublisher_ParamsParser.h.
const std::string FakeRawValuesPublisher_ParamsParser::m_njomos_defaultValue = {""} |
Definition at line 62 of file FakeRawValuesPublisher_ParamsParser.h.
bool FakeRawValuesPublisher_ParamsParser::m_parser_is_strict = false |
Definition at line 53 of file FakeRawValuesPublisher_ParamsParser.h.
const parser_version_type FakeRawValuesPublisher_ParamsParser::m_parser_version = {} |
Definition at line 59 of file FakeRawValuesPublisher_ParamsParser.h.
int FakeRawValuesPublisher_ParamsParser::m_threshold = {0} |
Definition at line 67 of file FakeRawValuesPublisher_ParamsParser.h.
const std::string FakeRawValuesPublisher_ParamsParser::m_threshold_defaultValue = {""} |
Definition at line 63 of file FakeRawValuesPublisher_ParamsParser.h.