BallJoint< T > Class Template Reference

Base class for a ball joint. More...

#include <physics/physics.hh>

Inherits T.

Public Member Functions

 BallJoint (BasePtr _parent)
 Constructor. More...
 
virtual ~BallJoint ()
 Destructor. More...
 
virtual unsigned int DOF () const
 
void Load (sdf::ElementPtr _sdf)
 Template to ::Load the BallJoint. More...
 

Protected Member Functions

virtual void Init ()
 Initialize joint. More...
 

Detailed Description

template<class T>
class gazebo::physics::BallJoint< T >

Base class for a ball joint.

Each physics engine should implement this class.

Constructor & Destructor Documentation

◆ BallJoint()

BallJoint ( BasePtr  _parent)
inlineexplicit

Constructor.

Parameters
[in]_parentPointer to the parent link.

◆ ~BallJoint()

virtual ~BallJoint ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ DOF()

virtual unsigned int DOF ( ) const
inlinevirtual

◆ Init()

virtual void Init ( )
inlineprotectedvirtual

Initialize joint.

Reimplemented in BulletBallJoint, and DARTBallJoint.

◆ Load()

void Load ( sdf::ElementPtr  _sdf)
inline

Template to ::Load the BallJoint.

Parameters
[in]_sdfSDF to load the joint from.

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