File: GroupClass.h.template

package info (click to toggle)
ros-dynamic-reconfigure 1.7.3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 524 kB
  • sloc: python: 1,752; cpp: 657; xml: 35; ansic: 18; makefile: 11; sh: 2
file content (27 lines) | stat: -rw-r--r-- 512 bytes parent folder | download | duplicates (5)
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};