Physics::JointGroup Class Reference

Manages a set of joints. More...

#include <Joint.h>

List of all members.

Public Member Functions

 JointGroup ()
JointcreateAndAdd (World *pWorld, Joint::EJointType type)
JointcreateAndAdd (World *pWorld, Contact *pContact)
void clear ()
 Empties the group by destroying all contained joints.

Protected Member Functions

virtual ~JointGroup ()
 Protected destructor forces the object to be deleted by being dereferenced.

Protected Attributes

dJointGroupID id
std::set< osg::ref_ptr< Joint > > vJoints


Detailed Description

Manages a set of joints.

Definition at line 319 of file Joint.h.


Constructor & Destructor Documentation

Physics::JointGroup::JointGroup (  )  [inline]

Definition at line 321 of file Joint.h.

virtual Physics::JointGroup::~JointGroup (  )  [inline, protected, virtual]

Protected destructor forces the object to be deleted by being dereferenced.

Also avoids the object from beeing created on the stack.

Definition at line 344 of file Joint.h.


Member Function Documentation

void Physics::JointGroup::clear (  )  [inline]

Empties the group by destroying all contained joints.

Definition at line 336 of file Joint.h.

References vJoints.

Joint* Physics::JointGroup::createAndAdd ( World pWorld,
Contact pContact 
) [inline]

Definition at line 329 of file Joint.h.

References vJoints.

Joint* Physics::JointGroup::createAndAdd ( World pWorld,
Joint::EJointType  type 
) [inline]

Definition at line 323 of file Joint.h.

References vJoints.

Referenced by Physics::NearCallback::operator()().


Member Data Documentation

dJointGroupID Physics::JointGroup::id [mutable, protected]

Definition at line 339 of file Joint.h.

std::set<osg::ref_ptr<Joint> > Physics::JointGroup::vJoints [protected]

Definition at line 340 of file Joint.h.

Referenced by clear(), and createAndAdd().


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

Generated on Sun Jan 17 11:39:36 2010 for PVLE (Pro-Vocation Light Engine) by  doxygen 1.5.9