class ChangeWrench

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
forcefloat32Linear force increment (in Newton)
torquefloat32Angular torque increment (in Newton*meters)

Member functions

Function nameReturn typeInput typeDescription
force()float32voidReturns the current value of force. If the force is not set, returns 0.
set_force()voidfloat32Sets the value of force. After calling this, force() will return value.
clear_force()voidvoidClears the value of force. After calling this, force() will return 0.
torque()float32voidReturns the current value of torque. If the torque is not set, returns 0.
set_torque()voidfloat32Sets the value of torque. After calling this, torque() will return value.
clear_torque()voidvoidClears the value of torque. After calling this, torque() will return 0.

Parent topic: Base (C++)