Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5652 in orxonox.OLD for trunk/src/lib/coord/p_node.cc


Ignore:
Timestamp:
Nov 20, 2005, 6:32:39 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: new LoadParam procedure with all NON-cycling load-options, and it works perfectly (on first sight :))

now going to make the same for cycling LoadOptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/coord/p_node.cc

    r5438 r5652  
    141141  static_cast<BaseObject*>(this)->loadParams(root);
    142142
    143   LoadParam<PNode>(root, "rel-coor", this, &PNode::setRelCoor)
     143  LoadParamNEW(root, "rel-coor", this, PNode, setRelCoor)
    144144      .describe("Sets The relative position of the Node to its parent.");
    145145
    146   LoadParam<PNode>(root, "abs-coor", this, &PNode::setAbsCoor)
     146  LoadParamNEW(root, "abs-coor", this, PNode, setAbsCoor)
    147147      .describe("Sets The absolute Position of the Node.");
    148148
    149   LoadParam<PNode>(root, "rel-dir", this, &PNode::setRelDir)
     149  LoadParamNEW(root, "rel-dir", this, PNode, setRelDir)
    150150      .describe("Sets The relative rotation of the Node to its parent.");
    151151
    152   LoadParam<PNode>(root, "abs-dir", this, &PNode::setAbsDir)
     152  LoadParamNEW(root, "abs-dir", this, PNode, setAbsDir)
    153153      .describe("Sets The absolute rotation of the Node.");
    154154
    155   LoadParam<PNode>(root, "parent", this, &PNode::setParent)
     155  LoadParamNEW(root, "parent", this, PNode, setParent)
    156156      .describe("the Name of the Parent of this PNode");
    157157
    158   LoadParam<PNode>(root, "parent-mode", this, &PNode::setParentMode)
     158  LoadParamNEW(root, "parent-mode", this, PNode, setParentMode)
    159159      .describe("the mode to connect this node to its parent ()");
    160160
Note: See TracChangeset for help on using the changeset viewer.