Class ParentBodyAttachmentParams#

Inheritance Relationships#

Base Type#

  • public std::enable_shared_from_this< ParentBodyAttachmentParams >

Derived Type#

Class Documentation#

class ParentBodyAttachmentParams : public std::enable_shared_from_this<ParentBodyAttachmentParams>#

Base class for attachment between a parent and child body.

One of these classes will be used on every *BodyParams to indicate how it should be connected to its parent.

Subclassed by Karana::Dynamics::ParentPhysicalBodyAttachmentParams

Public Functions

virtual ~ParentBodyAttachmentParams()#

Destructor.

virtual void setAttachmentParams(PhysicalHinge &hinge) const = 0#

Set the parameters associated with attachment.

Parameters:

hinge – The hinge that attaches the parent to the child.

virtual bool operator==(const ParentBodyAttachmentParams &other) const = 0#

Equality operator.

Parameters:

other – The other parameter to compare against.

Returns:

true if the two ParentBodyAttachmentParams have the same parameters; false otherwise.