This class is the parameters parser for class RGBDSensorClient. More...
#include <networkWrappers/RGBDSensorClient/RGBDSensorClient_ParamsParser.h>
Classes | |
struct | parser_version_type |
Public Member Functions | |
RGBDSensorClient_ParamsParser () | |
~RGBDSensorClient_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. | |
bool | getParamValue (const std::string ¶mName, std::string ¶mValue) const override |
Return the value (represented as a string) of the requested parameter. | |
std::string | getConfiguration () const override |
Return the configuration of the device. | |
![]() | |
virtual | ~IDeviceDriverParams () |
Public Attributes | |
const std::string | m_device_classname = {"RGBDSensorClient"} |
const std::string | m_device_name = {"RGBDSensorClient"} |
bool | m_parser_is_strict = false |
const parser_version_type | m_parser_version = {} |
std::string | m_provided_configuration |
const std::string | m_period_defaultValue = {"0.03"} |
const std::string | m_localImagePort_defaultValue = {"/RGBD_nwc/Image:o"} |
const std::string | m_localDepthPort_defaultValue = {"/RGBD_nwc/Depth:o"} |
const std::string | m_remoteImagePort_defaultValue = {"/RGBD_nws/Image:o"} |
const std::string | m_remoteDepthPort_defaultValue = {"/RGBD_nws/Depth:i"} |
const std::string | m_localRpcPort_defaultValue = {"/RGBD_nwc/rpc:o"} |
const std::string | m_remoteRpcPort_defaultValue = {"/RGBD_nws/rpc:i"} |
const std::string | m_ImageCarrier_defaultValue = {"udp"} |
const std::string | m_DepthCarrier_defaultValue = {"udp"} |
double | m_period = {0.03} |
std::string | m_localImagePort = {"/RGBD_nwc/Image:o"} |
std::string | m_localDepthPort = {"/RGBD_nwc/Depth:o"} |
std::string | m_remoteImagePort = {"/RGBD_nws/Image:o"} |
std::string | m_remoteDepthPort = {"/RGBD_nws/Depth:i"} |
std::string | m_localRpcPort = {"/RGBD_nwc/rpc:o"} |
std::string | m_remoteRpcPort = {"/RGBD_nws/rpc:i"} |
std::string | m_ImageCarrier = {"udp"} |
std::string | m_DepthCarrier = {"udp"} |
This class is the parameters parser for class RGBDSensorClient.
These are the used parameters:
Group name | Parameter name | Type | Units | Default Value | Required | Description | Notes |
---|---|---|---|---|---|---|---|
- | period | double | s | 0.03 | 0 | refresh period (in s) of the broadcasted values through yarp ports | default 0.03s |
- | localImagePort | string | - | /RGBD_nwc/Image:o | 1 | Full name of the local image streaming port to open | - |
- | localDepthPort | string | - | /RGBD_nwc/Depth:o | 1 | Full name of the local depth streaming port to open | - |
- | remoteImagePort | string | - | /RGBD_nws/Image:o | 1 | Full name of the remote image port to connect to | - |
- | remoteDepthPort | string | - | /RGBD_nws/Depth:i | 1 | Full name of the remote depth port to connect to | - |
- | localRpcPort | string | - | /RGBD_nwc/rpc:o | 1 | Full name of the local rpc port to open | - |
- | remoteRpcPort | string | - | /RGBD_nws/rpc:i | 1 | Full name of the remote rpc port to connect to | - |
- | ImageCarrier | string | - | udp | 0 | Carrier for the image stream | - |
- | DepthCarrier | string | - | udp | 0 | Carrier for the depth stream | - |
The device can be launched by yarpdev using one of the following examples (with and without all optional parameters):
Definition at line 49 of file RGBDSensorClient_ParamsParser.h.
RGBDSensorClient_ParamsParser::RGBDSensorClient_ParamsParser | ( | ) |
Definition at line 23 of file RGBDSensorClient_ParamsParser.cpp.
|
overridedefault |
|
overridevirtual |
Return the configuration of the device.
Implements yarp::dev::IDeviceDriverParams.
Definition at line 98 of file RGBDSensorClient_ParamsParser.cpp.
|
inlineoverridevirtual |
Get the name of the DeviceDriver class.
Implements yarp::dev::IDeviceDriverParams.
Definition at line 89 of file RGBDSensorClient_ParamsParser.h.
|
inlineoverridevirtual |
Get the name of the device (i.e.
the plugin name).
Implements yarp::dev::IDeviceDriverParams.
Definition at line 90 of file RGBDSensorClient_ParamsParser.h.
|
overridevirtual |
Get the documentation of the DeviceDriver's parameters.
Implements yarp::dev::IDeviceDriverParams.
Definition at line 285 of file RGBDSensorClient_ParamsParser.cpp.
|
overridevirtual |
Return a list of all params used by the device.
Implements yarp::dev::IDeviceDriverParams.
Definition at line 28 of file RGBDSensorClient_ParamsParser.cpp.
|
overridevirtual |
Return the value (represented as a string) of the requested parameter.
Implements yarp::dev::IDeviceDriverParams.
Definition at line 44 of file RGBDSensorClient_ParamsParser.cpp.
|
overridevirtual |
Parse the DeviceDriver parameters.
Implements yarp::dev::IDeviceDriverParams.
Definition at line 108 of file RGBDSensorClient_ParamsParser.cpp.
std::string RGBDSensorClient_ParamsParser::m_DepthCarrier = {"udp"} |
Definition at line 86 of file RGBDSensorClient_ParamsParser.h.
const std::string RGBDSensorClient_ParamsParser::m_DepthCarrier_defaultValue = {"udp"} |
Definition at line 76 of file RGBDSensorClient_ParamsParser.h.
const std::string RGBDSensorClient_ParamsParser::m_device_classname = {"RGBDSensorClient"} |
Definition at line 56 of file RGBDSensorClient_ParamsParser.h.
const std::string RGBDSensorClient_ParamsParser::m_device_name = {"RGBDSensorClient"} |
Definition at line 57 of file RGBDSensorClient_ParamsParser.h.
std::string RGBDSensorClient_ParamsParser::m_ImageCarrier = {"udp"} |
Definition at line 85 of file RGBDSensorClient_ParamsParser.h.
const std::string RGBDSensorClient_ParamsParser::m_ImageCarrier_defaultValue = {"udp"} |
Definition at line 75 of file RGBDSensorClient_ParamsParser.h.
std::string RGBDSensorClient_ParamsParser::m_localDepthPort = {"/RGBD_nwc/Depth:o"} |
Definition at line 80 of file RGBDSensorClient_ParamsParser.h.
const std::string RGBDSensorClient_ParamsParser::m_localDepthPort_defaultValue = {"/RGBD_nwc/Depth:o"} |
Definition at line 70 of file RGBDSensorClient_ParamsParser.h.
std::string RGBDSensorClient_ParamsParser::m_localImagePort = {"/RGBD_nwc/Image:o"} |
Definition at line 79 of file RGBDSensorClient_ParamsParser.h.
const std::string RGBDSensorClient_ParamsParser::m_localImagePort_defaultValue = {"/RGBD_nwc/Image:o"} |
Definition at line 69 of file RGBDSensorClient_ParamsParser.h.
std::string RGBDSensorClient_ParamsParser::m_localRpcPort = {"/RGBD_nwc/rpc:o"} |
Definition at line 83 of file RGBDSensorClient_ParamsParser.h.
const std::string RGBDSensorClient_ParamsParser::m_localRpcPort_defaultValue = {"/RGBD_nwc/rpc:o"} |
Definition at line 73 of file RGBDSensorClient_ParamsParser.h.
bool RGBDSensorClient_ParamsParser::m_parser_is_strict = false |
Definition at line 58 of file RGBDSensorClient_ParamsParser.h.
const parser_version_type RGBDSensorClient_ParamsParser::m_parser_version = {} |
Definition at line 64 of file RGBDSensorClient_ParamsParser.h.
double RGBDSensorClient_ParamsParser::m_period = {0.03} |
Definition at line 78 of file RGBDSensorClient_ParamsParser.h.
const std::string RGBDSensorClient_ParamsParser::m_period_defaultValue = {"0.03"} |
Definition at line 68 of file RGBDSensorClient_ParamsParser.h.
std::string RGBDSensorClient_ParamsParser::m_provided_configuration |
Definition at line 66 of file RGBDSensorClient_ParamsParser.h.
std::string RGBDSensorClient_ParamsParser::m_remoteDepthPort = {"/RGBD_nws/Depth:i"} |
Definition at line 82 of file RGBDSensorClient_ParamsParser.h.
const std::string RGBDSensorClient_ParamsParser::m_remoteDepthPort_defaultValue = {"/RGBD_nws/Depth:i"} |
Definition at line 72 of file RGBDSensorClient_ParamsParser.h.
std::string RGBDSensorClient_ParamsParser::m_remoteImagePort = {"/RGBD_nws/Image:o"} |
Definition at line 81 of file RGBDSensorClient_ParamsParser.h.
const std::string RGBDSensorClient_ParamsParser::m_remoteImagePort_defaultValue = {"/RGBD_nws/Image:o"} |
Definition at line 71 of file RGBDSensorClient_ParamsParser.h.
std::string RGBDSensorClient_ParamsParser::m_remoteRpcPort = {"/RGBD_nws/rpc:i"} |
Definition at line 84 of file RGBDSensorClient_ParamsParser.h.
const std::string RGBDSensorClient_ParamsParser::m_remoteRpcPort_defaultValue = {"/RGBD_nws/rpc:i"} |
Definition at line 74 of file RGBDSensorClient_ParamsParser.h.