Drake
Joint< T >::JointImplementation Struct Reference

(Advanced) A Joint is implemented in terms of MultibodyTree elements such as bodies, mobilizers, force elements and constraints. More...

#include <multibody/multibody_tree/joints/joint.h>

Collaboration diagram for Joint< T >::JointImplementation:
[legend]

Public Member Functions

 JointImplementation ()
 Default constructor to create an empty implementation. More...
 
 JointImplementation (const BluePrint &blue_print)
 This constructor creates an implementation for this joint from the blueprint provided. More...
 
int get_num_mobilizers () const
 Returns the number of mobilizers in this implementation. More...
 

Public Attributes

std::vector< const Mobilizer< T > * > mobilizers_
 References (raw pointers) to the mobilizers that make part of this implementation. More...
 

Detailed Description

template<typename T>
struct drake::multibody::Joint< T >::JointImplementation

(Advanced) A Joint is implemented in terms of MultibodyTree elements such as bodies, mobilizers, force elements and constraints.

This object contains the internal details of the MultibodyTree implementation for a joint. The implementation does not own the MBT elements, it just keeps references to them. This is intentionally made a protected member so that derived classes have access to its definition.

Constructor & Destructor Documentation

JointImplementation ( )
inline

Default constructor to create an empty implementation.

Used by Joint::CloneToScalar().

JointImplementation ( const BluePrint blue_print)
inlineexplicit

This constructor creates an implementation for this joint from the blueprint provided.

Member Function Documentation

int get_num_mobilizers ( ) const
inline

Returns the number of mobilizers in this implementation.

Here is the call graph for this function:

Member Data Documentation

std::vector<const Mobilizer<T>*> mobilizers_

References (raw pointers) to the mobilizers that make part of this implementation.


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