Abstract interface for device-specific operations.
virtual Result< void > set_video_property(VidProp prop, const PropSetting &setting)=0
Set video property value.
virtual ~IDeviceConnection()=default
virtual bool is_valid() const =0
Check if connection is valid.
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_camera_property(CamProp prop, const PropSetting &setting)=0
Set camera property value.
virtual Result< PropRange > get_video_property_range(VidProp prop)=0
Get video property range.
virtual Result< PropSetting > get_camera_property(CamProp prop)=0
Get camera property value.
Result type that can contain either a value or an error.
VidProp
Video processing properties (IAMVideoProcAmp interface)
std::unique_ptr< IPlatformInterface > create_platform_interface()
Get platform-specific interface implementation.
CamProp
Camera control properties (IAMCameraControl interface)
Result/Error type system for duvc-ctl.
Represents a camera device.
Property setting with value and control mode.
Core data types and enumerations for duvc-ctl.