##

BallJoint< T > Class Template Reference
Physics

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

inline explicit

Constructor.

Parameters

  [in] | _parent | Pointer to the parent link.

## ~BallJoint()

virtual ~BallJoint | ( |  | ) |

inline virtual

Destructor.

## Member Function Documentation

## DOF()

virtual unsigned int DOF | ( |  | ) | const

inline virtual

## Init()

virtual void Init | ( |  | ) |

inline protected virtual

Initialize joint.

Reimplemented in BulletBallJoint, and DARTBallJoint.

## Load()

void Load | ( | sdf::ElementPtr | _sdf | ) |

inline

Template to ::Load the BallJoint.

Parameters

  [in] | _sdf | SDF to load the joint from.

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

- BallJoint.hh