Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

KinematicJointSaver Class Reference

handles the recursive saving of a tree of joints More...

#include <KinematicJoint.h>

Inheritance diagram for KinematicJointSaver:

Detailed Description

handles the recursive saving of a tree of joints

Definition at line 716 of file KinematicJoint.h.

List of all members.

Public Member Functions

 KinematicJointSaver (const KinematicJoint &c, xmlNode *node=NULL)
 given a single KinematicJoint, places it at the beginning of the array, followed by its children
 KinematicJointSaver (KinematicJoint &c, bool takeOwnership, xmlNode *node=NULL)
 given a single KinematicJoint, places it at the beginning of the array, followed by its children

Protected Member Functions

virtual void saveXML (xmlNode *node) const
 saves the array of joints, prepending human-readable help text as a comment if this is a root XML node
void init (const std::set< KinematicJoint * > &joints, xmlNode *node)
 adds the chain of joints as elements in the array, recursing on branching nodes to insert sub-arrays

Constructor & Destructor Documentation

KinematicJointSaver::KinematicJointSaver ( const KinematicJoint c,
xmlNode node = NULL 
) [explicit]

given a single KinematicJoint, places it at the beginning of the array, followed by its children

Definition at line 719 of file KinematicJoint.h.

Referenced by init().

KinematicJointSaver::KinematicJointSaver ( KinematicJoint c,
bool  takeOwnership,
xmlNode node = NULL 
) [explicit]

given a single KinematicJoint, places it at the beginning of the array, followed by its children

Definition at line 724 of file KinematicJoint.h.


Member Function Documentation

void KinematicJointSaver::init ( const std::set< KinematicJoint * > &  joints,
xmlNode node 
) [protected]

adds the chain of joints as elements in the array, recursing on branching nodes to insert sub-arrays

Definition at line 106 of file KinematicJoint.cc.

Referenced by KinematicJointSaver().

void KinematicJointSaver::saveXML ( xmlNode node  )  const [protected, virtual]

saves the array of joints, prepending human-readable help text as a comment if this is a root XML node

Reimplemented from plist::ArrayBase.

Definition at line 46 of file KinematicJoint.cc.

Referenced by init().


The documentation for this class was generated from the following files:

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:10 2016 by Doxygen 1.6.3