iCub-main
|
This class is the parameters parser for class RawValuesPublisherClient. More...
#include <RawValuesPublisherClient_ParamsParser.h>
Classes | |
struct | parser_version_type |
Public Member Functions | |
RawValuesPublisherClient_ParamsParser () | |
~RawValuesPublisherClient_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 = {"RawValuesPublisherClient"} |
const std::string | m_device_name = {"rawValuesPublisherClient"} |
bool | m_parser_is_strict = false |
const parser_version_type | m_parser_version = {} |
const std::string | m_remote_defaultValue = {""} |
const std::string | m_local_defaultValue = {""} |
const std::string | m_externalConnection_defaultValue = {"false"} |
const std::string | m_carrier_defaultValue = {"tcp"} |
std::string | m_remote = {} |
std::string | m_local = {} |
bool | m_externalConnection = {false} |
std::string | m_carrier = {"tcp"} |
This class is the parameters parser for class RawValuesPublisherClient.
These are the used parameters:
Group name | Parameter name | Type | Units | Default Value | Required | Description | Notes |
---|---|---|---|---|---|---|---|
- | remote | string | - | - | 1 | Prefix of the ports to which to connect, opened by RawValuesParameterSensorsServer device. | - |
- | local | string | - | - | 1 | Port prefix of the ports opened by this device. | - |
- | externalConnection | bool | - | false | 0 | If set to true, the connection to the rpc port of the RVP server is skipped and it is possible to connect to the data source externally after being opened | - |
- | carrier | string | - | tcp | 0 | The carier used for the connection with the server. | - |
The device can be launched by yarpdev using one of the following examples (with and without all optional parameters):
Definition at line 47 of file RawValuesPublisherClient_ParamsParser.h.
RawValuesPublisherClient_ParamsParser::RawValuesPublisherClient_ParamsParser | ( | ) |
Definition at line 23 of file RawValuesPublisherClient_ParamsParser.cpp.
|
default |
|
inline |
Definition at line 75 of file RawValuesPublisherClient_ParamsParser.h.
|
inline |
Definition at line 76 of file RawValuesPublisherClient_ParamsParser.h.
std::string RawValuesPublisherClient_ParamsParser::getDocumentationOfDeviceParams | ( | ) | const |
Definition at line 138 of file RawValuesPublisherClient_ParamsParser.cpp.
std::vector< std::string > RawValuesPublisherClient_ParamsParser::getListOfParams | ( | ) | const |
Definition at line 28 of file RawValuesPublisherClient_ParamsParser.cpp.
bool RawValuesPublisherClient_ParamsParser::parseParams | ( | const yarp::os::Searchable & | config | ) |
Definition at line 39 of file RawValuesPublisherClient_ParamsParser.cpp.
std::string RawValuesPublisherClient_ParamsParser::m_carrier = {"tcp"} |
Definition at line 72 of file RawValuesPublisherClient_ParamsParser.h.
const std::string RawValuesPublisherClient_ParamsParser::m_carrier_defaultValue = {"tcp"} |
Definition at line 67 of file RawValuesPublisherClient_ParamsParser.h.
const std::string RawValuesPublisherClient_ParamsParser::m_device_classname = {"RawValuesPublisherClient"} |
Definition at line 54 of file RawValuesPublisherClient_ParamsParser.h.
const std::string RawValuesPublisherClient_ParamsParser::m_device_name = {"rawValuesPublisherClient"} |
Definition at line 55 of file RawValuesPublisherClient_ParamsParser.h.
bool RawValuesPublisherClient_ParamsParser::m_externalConnection = {false} |
Definition at line 71 of file RawValuesPublisherClient_ParamsParser.h.
const std::string RawValuesPublisherClient_ParamsParser::m_externalConnection_defaultValue = {"false"} |
Definition at line 66 of file RawValuesPublisherClient_ParamsParser.h.
std::string RawValuesPublisherClient_ParamsParser::m_local = {} |
Definition at line 70 of file RawValuesPublisherClient_ParamsParser.h.
const std::string RawValuesPublisherClient_ParamsParser::m_local_defaultValue = {""} |
Definition at line 65 of file RawValuesPublisherClient_ParamsParser.h.
bool RawValuesPublisherClient_ParamsParser::m_parser_is_strict = false |
Definition at line 56 of file RawValuesPublisherClient_ParamsParser.h.
const parser_version_type RawValuesPublisherClient_ParamsParser::m_parser_version = {} |
Definition at line 62 of file RawValuesPublisherClient_ParamsParser.h.
std::string RawValuesPublisherClient_ParamsParser::m_remote = {} |
Definition at line 69 of file RawValuesPublisherClient_ParamsParser.h.
const std::string RawValuesPublisherClient_ParamsParser::m_remote_defaultValue = {""} |
Definition at line 64 of file RawValuesPublisherClient_ParamsParser.h.