|
duvc-ctl 2.0.0
USB Video Class Camera Control Library
|
Property range and default information. More...
#include <duvc-ctl/core/types.h>
Public Member Functions | |
| PropRange ()=default | |
| Default constructor. | |
| bool | is_valid (int value) const |
| Check if a value is valid for this range. | |
| int | clamp (int value) const |
| Clamp value to valid range. | |
Public Attributes | |
| int | min |
| Minimum supported value. | |
| int | max |
| Maximum supported value. | |
| int | step |
| Step size between valid values. | |
| int | default_val |
| Default value. | |
| CamMode | default_mode |
| Default control mode. | |
|
default |
Default constructor.
| CamMode duvc::PropRange::default_mode |
Default control mode.
Definition at line 97 of file types.h.
Referenced by duvc::DeviceConnection::get_range(), duvc::DeviceConnection::get_range(), and duvc::PropertyCapability::supports_auto().
| int duvc::PropRange::default_val |
Default value.
Definition at line 96 of file types.h.
Referenced by duvc::DeviceConnection::get_range(), and duvc::DeviceConnection::get_range().
| int duvc::PropRange::max |
Maximum supported value.
Definition at line 94 of file types.h.
Referenced by clamp(), duvc::DeviceConnection::get_range(), duvc::DeviceConnection::get_range(), and is_valid().
| int duvc::PropRange::min |
Minimum supported value.
Definition at line 93 of file types.h.
Referenced by clamp(), duvc_cam_get_range(), duvc_vid_get_range(), duvc::DeviceConnection::get_range(), duvc::DeviceConnection::get_range(), and is_valid().
| int duvc::PropRange::step |
Step size between valid values.
Definition at line 95 of file types.h.
Referenced by clamp(), duvc::DeviceConnection::get_range(), duvc::DeviceConnection::get_range(), and is_valid().