GetJoint¶
-
virtual PJoint IRigidBody::GetJoint(std::string &name) const = 0¶
Gets the joint with the specified name.
- Parameters
name – Name of the joint.
- Returns
PJoint – The joint with the specified name.
- Throws
CCommunicationErrorException– Protocol error.CConnectionLostException– Connection to controller lost.CObjectDestroyedException– Object is destroyed.CRebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CInvalidArgumentException– Joint with specified name does not exist.