64 p->setDefaultValue(param->defaultValue);
69 if (param->defaultValue)
73 p->type = QString::fromStdString(typeName);
75 json->serializeIceObject(param->defaultValue);
76 p->setDefaultValueJson(QString::fromStdString(json->asString(
false)));
79 catch (std::exception& e)
81 ARMARX_INFO_S <<
"Default value serialization failed: " << typeName <<
" - " << e.what();
84 p->optional = param->optionalParam;
92 r->defaultValue = param->getDefaultValue();
93 r->optionalParam = param->optional;
101 StateParameterMap::const_iterator it = params.begin();
102 for (; it != params.end(); it++)