19 YARP_LOG_COMPONENT(FrameTransformStorageParamsCOMPONENT,
"yarp.device.FrameTransformStorage")
30 std::vector<std::string> params;
31 params.push_back(
"FrameTransform_verbose_debug");
32 params.push_back(
"FrameTransform_container_timeout");
39 if (paramName ==
"FrameTransform_verbose_debug")
42 else paramValue =
"false";
45 if (paramName ==
"FrameTransform_container_timeout")
51 yError() <<
"parameter '" << paramName <<
"' was not found";
70 if (config.
check(
"help"))
79 if (config.
check(
"FrameTransform_verbose_debug"))
88 prop_check.
unput(
"FrameTransform_verbose_debug");
93 if (config.
check(
"FrameTransform_container_timeout"))
102 prop_check.
unput(
"FrameTransform_container_timeout");
137 doc = doc + std::string(
"\n=============================================\n");
138 doc = doc + std::string(
"This is the help for device: FrameTransformStorage\n");
139 doc = doc + std::string(
"\n");
140 doc = doc + std::string(
"This is the list of the parameters accepted by the device:\n");
141 doc = doc + std::string(
"'FrameTransform_verbose_debug': Enables additinal debug print\n");
142 doc = doc + std::string(
"'FrameTransform_container_timeout': After this time, not-refreshed transforms will be deleted\n");
143 doc = doc + std::string(
"\n");
144 doc = doc + std::string(
"Here are some examples of invocation command with yarpdev, with all params:\n");
145 doc = doc +
" yarpdev --device frameTransformStorage --FrameTransform_verbose_debug false --FrameTransform_container_timeout 0.2\n";
146 doc = doc + std::string(
"Using only mandatory params:\n");
147 doc = doc +
" yarpdev --device frameTransformStorage\n";
148 doc = doc + std::string(
"=============================================\n\n");
return doc;
A class for storing options and configuration information.
void unput(const std::string &key)
Remove the association from the given key to a value, if present.
A base class for nested structures that can be searched.
virtual bool check(const std::string &key) const =0
Check if there exists a property of the given name.
virtual std::string toString() const =0
Return a standard text representation of the content of the object.
virtual Value & find(const std::string &key) const =0
Gets a value corresponding to a given keyword.
#define yCInfo(component,...)
#define YARP_LOG_COMPONENT(name,...)