iCub-main
Loading...
Searching...
No Matches
RawValuesPublisherRemapper_ParamsParser Class Reference

This class is the parameters parser for class RawValuesPublisherRemapper. More...

#include <RawValuesPublisherRemapper_ParamsParser.h>

Inheritance diagram for RawValuesPublisherRemapper_ParamsParser:

Classes

struct  parser_version_type

Public Member Functions

 RawValuesPublisherRemapper_ParamsParser ()
 ~RawValuesPublisherRemapper_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
bool getParamValue (const std::string &paramName, std::string &paramValue) const override
std::string getConfiguration () const override

Public Attributes

const std::string m_device_classname = {"RawValuesPublisherRemapper"}
const std::string m_device_name = {"rawValuesPublisherRemapper"}
bool m_parser_is_strict = false
const parser_version_type m_parser_version = {}
std::string m_provided_configuration
const std::string m_axesNames_defaultValue = {""}
const std::string m_joints_defaultValue = {"1"}
std::vector< std::string > m_axesNames = {}
int m_joints = {1}

Detailed Description

This class is the parameters parser for class RawValuesPublisherRemapper.

These are the used parameters:

Group name Parameter name Type Units Default Value Required Description Notes
- axesNames vector<string> - - 1 List of axes names -
- joints int - 1 0 Number of control boards to be remapped -

The device can be launched by yarpdev using one of the following examples (with and without all optional parameters):

yarpdev --device rawValuesPublisherRemapper --axesNames <mandatory_value> --joints 1
yarpdev --device rawValuesPublisherRemapper --axesNames <mandatory_value>

Definition at line 42 of file RawValuesPublisherRemapper_ParamsParser.h.

Constructor & Destructor Documentation

◆ RawValuesPublisherRemapper_ParamsParser()

RawValuesPublisherRemapper_ParamsParser::RawValuesPublisherRemapper_ParamsParser ( )

Definition at line 23 of file RawValuesPublisherRemapper_ParamsParser.cpp.

◆ ~RawValuesPublisherRemapper_ParamsParser()

RawValuesPublisherRemapper_ParamsParser::~RawValuesPublisherRemapper_ParamsParser ( )
overridedefault

Member Function Documentation

◆ getConfiguration()

std::string RawValuesPublisherRemapper_ParamsParser::getConfiguration ( ) const
override

Definition at line 55 of file RawValuesPublisherRemapper_ParamsParser.cpp.

◆ getDeviceClassName()

std::string RawValuesPublisherRemapper_ParamsParser::getDeviceClassName ( ) const
inlineoverride

Definition at line 68 of file RawValuesPublisherRemapper_ParamsParser.h.

◆ getDeviceName()

std::string RawValuesPublisherRemapper_ParamsParser::getDeviceName ( ) const
inlineoverride

Definition at line 69 of file RawValuesPublisherRemapper_ParamsParser.h.

◆ getDocumentationOfDeviceParams()

std::string RawValuesPublisherRemapper_ParamsParser::getDocumentationOfDeviceParams ( ) const
override

Definition at line 149 of file RawValuesPublisherRemapper_ParamsParser.cpp.

◆ getListOfParams()

std::vector< std::string > RawValuesPublisherRemapper_ParamsParser::getListOfParams ( ) const
override

Definition at line 28 of file RawValuesPublisherRemapper_ParamsParser.cpp.

◆ getParamValue()

bool RawValuesPublisherRemapper_ParamsParser::getParamValue ( const std::string & paramName,
std::string & paramValue ) const
override

Definition at line 37 of file RawValuesPublisherRemapper_ParamsParser.cpp.

◆ parseParams()

bool RawValuesPublisherRemapper_ParamsParser::parseParams ( const yarp::os::Searchable & config)
override

Definition at line 65 of file RawValuesPublisherRemapper_ParamsParser.cpp.

Member Data Documentation

◆ m_axesNames

std::vector<std::string> RawValuesPublisherRemapper_ParamsParser::m_axesNames = {}

Definition at line 64 of file RawValuesPublisherRemapper_ParamsParser.h.

◆ m_axesNames_defaultValue

const std::string RawValuesPublisherRemapper_ParamsParser::m_axesNames_defaultValue = {""}

Definition at line 61 of file RawValuesPublisherRemapper_ParamsParser.h.

◆ m_device_classname

const std::string RawValuesPublisherRemapper_ParamsParser::m_device_classname = {"RawValuesPublisherRemapper"}

Definition at line 49 of file RawValuesPublisherRemapper_ParamsParser.h.

◆ m_device_name

const std::string RawValuesPublisherRemapper_ParamsParser::m_device_name = {"rawValuesPublisherRemapper"}

Definition at line 50 of file RawValuesPublisherRemapper_ParamsParser.h.

◆ m_joints

int RawValuesPublisherRemapper_ParamsParser::m_joints = {1}

Definition at line 65 of file RawValuesPublisherRemapper_ParamsParser.h.

◆ m_joints_defaultValue

const std::string RawValuesPublisherRemapper_ParamsParser::m_joints_defaultValue = {"1"}

Definition at line 62 of file RawValuesPublisherRemapper_ParamsParser.h.

◆ m_parser_is_strict

bool RawValuesPublisherRemapper_ParamsParser::m_parser_is_strict = false

Definition at line 51 of file RawValuesPublisherRemapper_ParamsParser.h.

◆ m_parser_version

const parser_version_type RawValuesPublisherRemapper_ParamsParser::m_parser_version = {}

Definition at line 57 of file RawValuesPublisherRemapper_ParamsParser.h.

◆ m_provided_configuration

std::string RawValuesPublisherRemapper_ParamsParser::m_provided_configuration

Definition at line 59 of file RawValuesPublisherRemapper_ParamsParser.h.


The documentation for this class was generated from the following files: