class OptionValue

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
sensoruint32The sensor to configure (color or depth)
optionuint32The option to configure
valuefloat32The desired value for the option

Member functions

Function nameReturn typeInput typeDescription
sensor() constuint32voidReturns the current value of sensor. If the sensor is not set, returns 0.
set_sensor()voiduint32Sets the value of sensor. After calling this, sensor() will return value.
clear_sensor()voidvoidClears the value of sensor. After calling this, sensor() will return the empty string/empty bytes.
option() constuint32voidReturns the current value of option. If the option is not set, returns 0.
set_option()voiduint32Sets the value of option. After calling this, option() will return value.
clear_option()voidvoidClears the value of option. After calling this, option() will return the empty string/empty bytes.
value()float32voidReturns the current value of value. If the value is not set, returns 0.
set_value()voidfloat32Sets the value of value. After calling this, value() will return value.
clear_value()voidvoidClears the value of value. After calling this, value() will return 0.

Parent topic: VisionConfig (C++)