class ChangeJointSpeeds

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
joint_speedsJointSpeedsJoint speeds

Member functions

Function nameReturn typeInput typeDescription
has_joint_speeds() constboolvoidReturns true if joint_speeds is set.
joint_speeds()const JointSpeeds&voidReturns the current value of joint_speeds. If joint_speeds is not set, returns a JointSpeeds with none of its fields set (possibly joint_speeds::default_instance()).
mutable_joint_speeds()JointSpeeds *voidReturns a pointer to the mutable JointSpeeds object that stores the field's value. If the field was not set prior to the call, then the returned JointSpeeds will have none of its fields set (i.e. it will be identical to a newly-allocated JointSpeeds). After calling this, has_joint_speeds() will return true and joint_speeds() will return a reference to the same instance of JointSpeeds.
clear_joint_speeds()voidvoidClears the value of the field. After calling this, has_joint_speeds() will return false and joint_speeds() will return the default value.
set_allocated_joint_speeds()voidJointSpeeds *Sets the JointSpeeds object to the field and frees the previous field value if it exists. If the JointSpeeds pointer is not NULL, the message takes ownership of the allocated JointSpeeds object and has_ JointSpeeds() will return true. Otherwise, if the joint_speeds is NULL, the behavior is the same as calling clear_joint_speeds().
release_joint_speeds()JointSpeeds *voidReleases the ownership of the field and returns the pointer of the JointSpeeds object. After calling this, caller takes the ownership of the allocated JointSpeeds object, has_joint_speeds() will return false, and joint_speeds() will return the default value.

Parent topic: Base (C++)