Ignition Physics

API Reference

2.0.0
AttachRevoluteJointFeature::Implementation< PolicyT > Class Template Referenceabstract

#include <RevoluteJoint.hh>

Public Types

using Axis = typename FromPolicy< PolicyT >::template Use< AngularVector >
 

Public Member Functions

virtual Identity AttachRevoluteJoint (const Identity &_childID, const BaseLinkPtr< PolicyT > &_parent, const std::string &_name, const Axis &_axis)=0
 
- Public Member Functions inherited from Feature::Implementation< PolicyT >
virtual ~Implementation ()=default
 Virtual destructor. More...
 
virtual Identity InitiateEngine (std::size_t engineID=0)=0
 Tell the physics plugin to initiate a physics engine. More...
 

Member Typedef Documentation

◆ Axis

using Axis = typename FromPolicy<PolicyT>::template Use<AngularVector>

Member Function Documentation

◆ AttachRevoluteJoint()

virtual Identity AttachRevoluteJoint ( const Identity &  _childID,
const BaseLinkPtr< PolicyT > &  _parent,
const std::string _name,
const Axis _axis 
)
pure virtual
Parameters
[in]_childIDThe ID of the child link.
[in]_parentA reference to the parent link. If this evaluates to a nullptr, then the parent should be the world.
[in]_nameThe name of this joint.
[in]_axisThe desired axis of the new revolute joint
Returns
the Identity of the newly created RevoluteJoint

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