|
| TemplateJointPtr ()=default |
| Default constructor. More...
|
|
| TemplateJointPtr (JointT *_ptr) |
| Typical constructor. More...
|
|
template<class OtherJointT , class OtherBodyNodeT > |
| TemplateJointPtr (const TemplateJointPtr< OtherJointT, OtherBodyNodeT > &_jptr) |
| Constructor that takes in a strong JointPtr. More...
|
|
TemplateJointPtr & | operator= (JointT *_ptr) |
| Assignment operator. More...
|
|
template<class OtherJointT , class OtherBodyNodeT > |
TemplateJointPtr & | operator= (const TemplateJointPtr< OtherJointT, OtherBodyNodeT > &_jptr) |
| Assignment operator for JointPtrs. More...
|
|
| operator JointT * () const |
| Implicit conversion. More...
|
|
JointT & | operator* () const |
| Dereferencing operator. More...
|
|
JointT * | operator-> () const |
| Dereferencing operation. More...
|
|
JointT * | get () const |
| Get the raw Joint pointer. More...
|
|
TemplateBodyNodePtr< BodyNodeT > | getBodyNodePtr () const |
| Get the BodyNode that this JointPtr is tied to. More...
|
|
void | set (JointT *_ptr) |
| Set the Joint for this JointPtr. More...
|
|
|
template<class OtherJointT , class OtherBodyNodeT > |
bool | operator== (const TemplateJointPtr< OtherJointT, OtherBodyNodeT > &_rhs) const |
| Equality. More...
|
|
template<class OtherJointT , class OtherBodyNodeT > |
bool | operator!= (const TemplateJointPtr< OtherJointT, OtherBodyNodeT > &_rhs) const |
| Inequality. More...
|
|
template<class OtherJointT , class OtherBodyNodeT > |
bool | operator< (const TemplateJointPtr< OtherJointT, OtherBodyNodeT > &_rhs) const |
| Less than. More...
|
|
template<class OtherJointT , class OtherBodyNodeT > |
bool | operator> (const TemplateJointPtr< OtherJointT, OtherBodyNodeT > &_rhs) const |
| Greater than. More...
|
|
template<class OtherJointT , class OtherBodyNodeT > |
bool | operator<= (const TemplateJointPtr< OtherJointT, OtherBodyNodeT > &_rhs) const |
| Less than or equal to. More...
|
|
template<class OtherJointT , class OtherBodyNodeT > |
bool | operator>= (const TemplateJointPtr< OtherJointT, OtherBodyNodeT > &_rhs) const |
| Greater than or equal to. More...
|
|
template<class JointT, class BodyNodeT>
class dart::dynamics::TemplateJointPtr< JointT, BodyNodeT >
TemplateJointPtr is a templated class that enables users to create a strong reference-counting JointPtr.
Holding onto a JointPtr will ensure that the child BodyNode (and by extension, Skeleton) corresponding to a Joint does not get deleted. If the child BodyNode of this Joint replaces its parent Joint, then this smart pointer will reference the new parent Joint, because the old one will have been deleted.