Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 2.73 KB

File metadata and controls

30 lines (24 loc) · 2.73 KB

class CalibrationParameter

Member values

Member name Data type Description
calibration_parameter_identifier uint32 Calibration parameter identifier
signedIntValue oneof:value int32 Signed int calibration value.
unsignedIntValue oneof:value uint32 Unsigned int calibration value.
floatValue oneof:value float32 Float calibration value.

Member functions

Function name Return type Input type Description
calibration_parameter_identifier() uint32 void Returns the current value of calibration_parameter_identifier. If the calibration_parameter_identifier is not set, returns 0.
set_calibration_parameter_identifier() void uint32 Sets the value of calibration_parameter_identifier. After calling this, calibration_parameter_identifier() will return value.
clear_calibration_parameter_identifier() void void Clears the value of calibration_parameter_identifier. After calling this, calibration_parameter_identifier() will return 0.
set_signedIntValue() void oneof:value int32 If 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() const oneof:value int32 void Returns the current value of the field if oneof case is kSignedIntValue. Otherwise, returns the default value.
clear_signedIntValue() void void Nothing 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() void oneof:value uint32 If 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() const oneof:value uint32 void Returns the current value of the field if oneof case is kUnsignedIntValue. Otherwise, returns the default value.
clear_unsignedIntValue() void void Nothing 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() void oneof:value float32 If 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() const oneof:value float32 void Returns the current value of the field if oneof case is kFloatValue. Otherwise, returns the default value.
clear_floatValue() void void Nothing 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++)