class CalibrationParameter

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
calibration_parameter_identifieruint32Calibration parameter identifier
signedIntValueoneof:value int32Signed int calibration value.
unsignedIntValueoneof:value uint32Unsigned int calibration value.
floatValueoneof:value float32Float calibration value.

Member functions

Function nameReturn typeInput typeDescription
calibration_parameter_identifier()uint32voidReturns the current value of calibration_parameter_identifier. If the calibration_parameter_identifier is not set, returns 0.
set_calibration_parameter_identifier()voiduint32Sets the value of calibration_parameter_identifier. After calling this, calibration_parameter_identifier() will return value.
clear_calibration_parameter_identifier()voidvoidClears the value of calibration_parameter_identifier. After calling this, calibration_parameter_identifier() will return 0.
set_signedIntValue()voidoneof:value int32If any other oneof field in the same oneof is set, calls clear_value(). Sets the value of this field and sets the oneof case to kSignedIntValue.
signedIntValue() constoneof:value int32voidReturns the current value of the field if oneof case is kSignedIntValue. Otherwise, returns the default value.
clear_signedIntValue()voidvoidNothing will be changed if the oneof case is not kSignedIntValue. If the oneof case is kSignedIntValue, clears the value of the field and the oneof case
set_unsignedIntValue()voidoneof:value uint32If any other oneof field in the same oneof is set, calls clear_value(). Sets the value of this field and sets the oneof case to kUnsignedIntValue.
unsignedIntValue() constoneof:value uint32voidReturns the current value of the field if oneof case is kUnsignedIntValue. Otherwise, returns the default value.
clear_unsignedIntValue()voidvoidNothing will be changed if the oneof case is not kUnsignedIntValue. If the oneof case is kUnsignedIntValue, clears the value of the field and the oneof case
set_floatValue()voidoneof:value float32If any other oneof field in the same oneof is set, calls clear_value(). Sets the value of this field and sets the oneof case to kFloatValue.
floatValue() constoneof:value float32voidReturns the current value of the field if oneof case is kFloatValue. Otherwise, returns the default value.
clear_floatValue()voidvoidNothing will be changed if the oneof case is not kFloatValue. If the oneof case is kFloatValue, clears the value of the field and the oneof case

Parent topic: DeviceConfig (C++)