/usr/share/dynamic_reconfigure/templates/GroupClass.h.template is in libdynamic-reconfigure-config-init-mutex-dev 1.5.49-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | class ${upper}
{
public:
${upper}()
{
state = true;
name = "${name}";
}
void setParams(${configname}Config &config, const std::vector<AbstractParamDescriptionConstPtr> params)
{
for (std::vector<AbstractParamDescriptionConstPtr>::const_iterator _i = params.begin(); _i != params.end(); ++_i)
{
boost::any val;
(*_i)->getValue(config, val);
${setters}
}
}
${params}
bool state;
std::string name;
${subgroups}
}${lower};
|