42 if (config.check(
"help"))
47 std::string config_string = config.toString();
48 yarp::os::Property prop_check(config_string.c_str());
51 if (config.check(
"remote"))
53 m_remote = config.find(
"remote").asString();
54 yCInfo(RawValuesPublisherClientParamsCOMPONENT) <<
"Parameter 'remote' using value:" <<
m_remote;
58 yCError(RawValuesPublisherClientParamsCOMPONENT) <<
"Mandatory parameter 'remote' not found!";
59 yCError(RawValuesPublisherClientParamsCOMPONENT) <<
"Description of the parameter: Prefix of the ports to which to connect, opened by RawValuesParameterSensorsServer device.";
62 prop_check.unput(
"remote");
67 if (config.check(
"local"))
69 m_local = config.find(
"local").asString();
70 yCInfo(RawValuesPublisherClientParamsCOMPONENT) <<
"Parameter 'local' using value:" <<
m_local;
74 yCError(RawValuesPublisherClientParamsCOMPONENT) <<
"Mandatory parameter 'local' not found!";
75 yCError(RawValuesPublisherClientParamsCOMPONENT) <<
"Description of the parameter: Port prefix of the ports opened by this device.";
78 prop_check.unput(
"local");
83 if (config.check(
"externalConnection"))
86 yCInfo(RawValuesPublisherClientParamsCOMPONENT) <<
"Parameter 'externalConnection' using value:" <<
m_externalConnection;
90 yCInfo(RawValuesPublisherClientParamsCOMPONENT) <<
"Parameter 'externalConnection' using DEFAULT value:" <<
m_externalConnection;
92 prop_check.unput(
"externalConnection");
97 if (config.check(
"carrier"))
99 m_carrier = config.find(
"carrier").asString();
100 yCInfo(RawValuesPublisherClientParamsCOMPONENT) <<
"Parameter 'carrier' using value:" <<
m_carrier;
104 yCInfo(RawValuesPublisherClientParamsCOMPONENT) <<
"Parameter 'carrier' using DEFAULT value:" <<
m_carrier;
106 prop_check.unput(
"carrier");