class SensorSettings

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
sensoruint32The sensor (color or depth)
resolutionuint32The resolution setting
frame_rateuint32Frame rate setting
bit_rateuint32Maximum encoded bit rate

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.
resolution() constuint32voidReturns the current value of resolution. If the resolution is not set, returns 0.
set_resolution()voiduint32Sets the value of resolution. After calling this, resolution() will return value.
clear_resolution()voidvoidClears the value of resolution. After calling this, resolution() will return the empty string/empty bytes.
frame_rate() constuint32voidReturns the current value of frame_rate. If the frame_rate is not set, returns 0.
set_frame_rate()voiduint32Sets the value of frame_rate. After calling this, frame_rate() will return value.
clear_frame_rate()voidvoidClears the value of frame_rate. After calling this, frame_rate() will return the empty string/empty bytes.
bit_rate() constuint32voidReturns the current value of bit_rate. If the bit_rate is not set, returns 0.
set_bit_rate()voiduint32Sets the value of bit_rate. After calling this, bit_rate() will return value.
clear_bit_rate()voidvoidClears the value of bit_rate. After calling this, bit_rate() will return the empty string/empty bytes.

Parent topic: VisionConfig (C++)