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.
 
virtual ~BallJoint ()
 Destructor.
 
virtual unsigned int DOF () const
 
void Load (sdf::ElementPtr _sdf)
 Template to Load the BallJoint.
 

Protected Member Functions

virtual void Init ()
 Initialize joint.
 

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()

template<class T >
BallJoint ( BasePtr _parent)
inlineexplicit

Constructor.

Parameters
[in]_parentPointer to the parent link.

References Base::BALL_JOINT.

◆ ~BallJoint()

template<class T >
virtual ~BallJoint ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ DOF()

template<class T >
virtual unsigned int DOF ( ) const
inlinevirtual

◆ Init()

template<class T >
virtual void Init ( )
inlineprotectedvirtual

Initialize joint.

Reimplemented in BulletBallJoint, and DARTBallJoint.

◆ Load()

template<class T >
void Load ( sdf::ElementPtr _sdf)
inline

Template to Load the BallJoint.

Parameters
[in]_sdfSDF to load the joint from.

Reimplemented in BulletBallJoint, DARTBallJoint, and SimbodyBallJoint.


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