duvc-ctl 2.0.0
USB Video Class Camera Control Library
Loading...
Searching...
No Matches
duvc::PropertyCapability Struct Reference

Property capability information. More...

#include <duvc-ctl/core/capability.h>

Collaboration diagram for duvc::PropertyCapability:

Public Member Functions

bool supports_auto () const
 Check if property supports automatic mode.
 

Public Attributes

bool supported = false
 Property is supported by device.
 
PropRange range
 Valid range for property.
 
PropSetting current
 Current property value.
 

Detailed Description

Property capability information.

Definition at line 20 of file capability.h.

Member Function Documentation

◆ supports_auto()

bool duvc::PropertyCapability::supports_auto ( ) const
inline

Check if property supports automatic mode.

Returns
true if auto mode is supported

Definition at line 29 of file capability.h.

References duvc::Auto, duvc::PropRange::default_mode, and range.

Member Data Documentation

◆ current

PropSetting duvc::PropertyCapability::current

Current property value.

Definition at line 23 of file capability.h.

◆ range

PropRange duvc::PropertyCapability::range

Valid range for property.

Definition at line 22 of file capability.h.

Referenced by supports_auto().

◆ supported

bool duvc::PropertyCapability::supported = false

Property is supported by device.

Definition at line 21 of file capability.h.


The documentation for this struct was generated from the following file: