|
duvc-ctl 2.0.0
USB Video Class Camera Control Library
|
Abstract interface for device-specific operations. More...
#include <duvc-ctl/platform/interface.h>
Public Member Functions | |
| virtual | ~IDeviceConnection ()=default |
| virtual bool | is_valid () const =0 |
| Check if connection is valid. | |
| virtual Result< PropSetting > | get_camera_property (CamProp prop)=0 |
| Get camera property value. | |
| virtual Result< void > | set_camera_property (CamProp prop, const PropSetting &setting)=0 |
| Set camera property value. | |
| virtual Result< PropRange > | get_camera_property_range (CamProp prop)=0 |
| Get camera property range. | |
| virtual Result< PropSetting > | get_video_property (VidProp prop)=0 |
| Get video property value. | |
| virtual Result< void > | set_video_property (VidProp prop, const PropSetting &setting)=0 |
| Set video property value. | |
| virtual Result< PropRange > | get_video_property_range (VidProp prop)=0 |
| Get video property range. | |
Abstract interface for device-specific operations.
Definition at line 47 of file interface.h.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
Get video property value.
| prop | Video property |
|
pure virtual |
Get video property range.
| prop | Video property |
Check if connection is valid.
|
pure virtual |
Set video property value.
| prop | Video property |
| setting | New property setting |