40 if (config.check(
"help"))
45 std::string config_string = config.toString();
46 yarp::os::Property prop_check(config_string.c_str());
49 if (config.check(
"name"))
51 m_name = config.find(
"name").asString();
52 yCInfo(RawValuesPublisherServerParamsCOMPONENT) <<
"Parameter 'name' using value:" <<
m_name;
56 yCError(RawValuesPublisherServerParamsCOMPONENT) <<
"Mandatory parameter 'name' not found!";
57 yCError(RawValuesPublisherServerParamsCOMPONENT) <<
"Description of the parameter: Prefix of the port opened by this device";
60 prop_check.unput(
"name");
65 if (config.check(
"period"))
67 m_period = config.find(
"period").asInt64();
68 yCInfo(RawValuesPublisherServerParamsCOMPONENT) <<
"Parameter 'period' using value:" <<
m_period;
72 yCError(RawValuesPublisherServerParamsCOMPONENT) <<
"Mandatory parameter 'period' not found!";
73 yCError(RawValuesPublisherServerParamsCOMPONENT) <<
"Description of the parameter: Refresh period of the broadcasted values in ms";
74 yCError(RawValuesPublisherServerParamsCOMPONENT) <<
"Remember: Units for this parameter are: 'ms'";
77 prop_check.unput(
"period");