This class is the parameters parser for class RemoteControlBoard. More...
#include <networkWrappers/RemoteControlBoard/RemoteControlBoard_ParamsParser.h>
Classes | |
struct | parser_version_type |
Public Member Functions | |
RemoteControlBoard_ParamsParser () | |
~RemoteControlBoard_ParamsParser () override=default | |
bool | parseParams (const yarp::os::Searchable &config) override |
Parse the DeviceDriver parameters. | |
std::string | getDeviceClassName () const override |
Get the name of the DeviceDriver class. | |
std::string | getDeviceName () const override |
Get the name of the device (i.e. | |
std::string | getDocumentationOfDeviceParams () const override |
Get the documentation of the DeviceDriver's parameters. | |
std::vector< std::string > | getListOfParams () const override |
Return a list of all params used by the device. | |
![]() | |
virtual | ~IDeviceDriverParams () |
This class is the parameters parser for class RemoteControlBoard.
These are the used parameters:
Group name | Parameter name | Type | Units | Default Value | Required | Description | Notes |
---|---|---|---|---|---|---|---|
- | remote | string | - | - | 1 | Prefix of the port to which to connect. | - |
- | local | string | - | - | 1 | Port prefix of the port opened by this device. | - |
- | writeStrict | string | - | - | 0 | It can be 'on' or 'off' | See implementation |
- | carrier | string | - | udp | 0 | carrier used for streaming robot state | - |
- | timeout | float | - | 0.5 | 0 | timeout for the input port which receives the streamed robot state | - |
local_qos | enable | bool | - | false | 0 | Enable the usage of local Qos | - |
local_qos | thread_priority | int | - | 0 | 0 | Local Qos. See https://yarp.it/latest/channelprioritization.html | - |
local_qos | thread_policy | int | - | 0 | 0 | Local Qos. See https://yarp.it/latest/channelprioritization.html | - |
local_qos | packet_priority | string | - | - | 0 | Local Qos. See https://yarp.it/latest/channelprioritization.html | - |
remote_qos | enable | bool | - | false | 0 | Enable the usage of remote Qos | - |
remote_qos | thread_priority | int | - | 0 | 0 | Remote Qos. See https://yarp.it/latest/channelprioritization.html | - |
remote_qos | thread_policy | int | - | 0 | 0 | Remote Qos. See https://yarp.it/latest/channelprioritization.html. | - |
remote_qos | packet_priority | string | - | - | 0 | Remote Qos. See https://yarp.it/latest/channelprioritization.html. | - |
- | ignoreProtocolCheck | bool | - | false | 0 | For development purpose only | - |
- | diagnostic | bool | - | false | 0 | For development purpose only | - |
The device can be launched by yarpdev using one of the following examples (with and without all optional parameters):
Definition at line 55 of file RemoteControlBoard_ParamsParser.h.
RemoteControlBoard_ParamsParser::RemoteControlBoard_ParamsParser | ( | ) |
Definition at line 23 of file RemoteControlBoard_ParamsParser.cpp.
|
overridedefault |
|
inlineoverridevirtual |
Get the name of the DeviceDriver class.
Implements yarp::dev::IDeviceDriverParams.
Definition at line 105 of file RemoteControlBoard_ParamsParser.h.
|
inlineoverridevirtual |
Get the name of the device (i.e.
the plugin name).
Implements yarp::dev::IDeviceDriverParams.
Definition at line 106 of file RemoteControlBoard_ParamsParser.h.
|
overridevirtual |
Get the documentation of the DeviceDriver's parameters.
Implements yarp::dev::IDeviceDriverParams.
Definition at line 319 of file RemoteControlBoard_ParamsParser.cpp.
|
overridevirtual |
Return a list of all params used by the device.
Implements yarp::dev::IDeviceDriverParams.
Definition at line 28 of file RemoteControlBoard_ParamsParser.cpp.
|
overridevirtual |
Parse the DeviceDriver parameters.
Implements yarp::dev::IDeviceDriverParams.
Definition at line 50 of file RemoteControlBoard_ParamsParser.cpp.
std::string RemoteControlBoard_ParamsParser::m_carrier = {"udp"} |
Definition at line 91 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_carrier_defaultValue = {"udp"} |
Definition at line 75 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_device_classname = {"RemoteControlBoard"} |
Definition at line 62 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_device_name = {"remote_controlboard"} |
Definition at line 63 of file RemoteControlBoard_ParamsParser.h.
bool RemoteControlBoard_ParamsParser::m_diagnostic = {false} |
Definition at line 102 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_diagnostic_defaultValue = {"false"} |
Definition at line 86 of file RemoteControlBoard_ParamsParser.h.
bool RemoteControlBoard_ParamsParser::m_ignoreProtocolCheck = {false} |
Definition at line 101 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_ignoreProtocolCheck_defaultValue = {"false"} |
Definition at line 85 of file RemoteControlBoard_ParamsParser.h.
std::string RemoteControlBoard_ParamsParser::m_local = {} |
Definition at line 89 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_local_defaultValue = {""} |
Definition at line 73 of file RemoteControlBoard_ParamsParser.h.
bool RemoteControlBoard_ParamsParser::m_local_qos_enable = {false} |
Definition at line 93 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_local_qos_enable_defaultValue = {"false"} |
Definition at line 77 of file RemoteControlBoard_ParamsParser.h.
std::string RemoteControlBoard_ParamsParser::m_local_qos_packet_priority = {} |
Definition at line 96 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_local_qos_packet_priority_defaultValue = {""} |
Definition at line 80 of file RemoteControlBoard_ParamsParser.h.
int RemoteControlBoard_ParamsParser::m_local_qos_thread_policy = {0} |
Definition at line 95 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_local_qos_thread_policy_defaultValue = {"0"} |
Definition at line 79 of file RemoteControlBoard_ParamsParser.h.
int RemoteControlBoard_ParamsParser::m_local_qos_thread_priority = {0} |
Definition at line 94 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_local_qos_thread_priority_defaultValue = {"0"} |
Definition at line 78 of file RemoteControlBoard_ParamsParser.h.
bool RemoteControlBoard_ParamsParser::m_parser_is_strict = false |
Definition at line 64 of file RemoteControlBoard_ParamsParser.h.
const parser_version_type RemoteControlBoard_ParamsParser::m_parser_version = {} |
Definition at line 70 of file RemoteControlBoard_ParamsParser.h.
std::string RemoteControlBoard_ParamsParser::m_remote = {} |
Definition at line 88 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_remote_defaultValue = {""} |
Definition at line 72 of file RemoteControlBoard_ParamsParser.h.
bool RemoteControlBoard_ParamsParser::m_remote_qos_enable = {false} |
Definition at line 97 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_remote_qos_enable_defaultValue = {"false"} |
Definition at line 81 of file RemoteControlBoard_ParamsParser.h.
std::string RemoteControlBoard_ParamsParser::m_remote_qos_packet_priority = {} |
Definition at line 100 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_remote_qos_packet_priority_defaultValue = {""} |
Definition at line 84 of file RemoteControlBoard_ParamsParser.h.
int RemoteControlBoard_ParamsParser::m_remote_qos_thread_policy = {0} |
Definition at line 99 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_remote_qos_thread_policy_defaultValue = {"0"} |
Definition at line 83 of file RemoteControlBoard_ParamsParser.h.
int RemoteControlBoard_ParamsParser::m_remote_qos_thread_priority = {0} |
Definition at line 98 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_remote_qos_thread_priority_defaultValue = {"0"} |
Definition at line 82 of file RemoteControlBoard_ParamsParser.h.
float RemoteControlBoard_ParamsParser::m_timeout = {0.5} |
Definition at line 92 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_timeout_defaultValue = {"0.5"} |
Definition at line 76 of file RemoteControlBoard_ParamsParser.h.
std::string RemoteControlBoard_ParamsParser::m_writeStrict = {} |
Definition at line 90 of file RemoteControlBoard_ParamsParser.h.
const std::string RemoteControlBoard_ParamsParser::m_writeStrict_defaultValue = {""} |
Definition at line 74 of file RemoteControlBoard_ParamsParser.h.