|
duvc-ctl 2.0.0
USB Video Class Camera Control Library
|
Abstract interface for platform-specific camera operations. More...
#include <duvc-ctl/platform/interface.h>
Public Member Functions | |
| virtual | ~IPlatformInterface ()=default |
| virtual Result< std::vector< Device > > | list_devices ()=0 |
| Enumerate available devices. | |
| virtual Result< bool > | is_device_connected (const Device &device)=0 |
| Check if device is connected. | |
| virtual Result< std::unique_ptr< class IDeviceConnection > > | create_connection (const Device &device)=0 |
| Create device connection. | |
Abstract interface for platform-specific camera operations.
Definition at line 18 of file interface.h.
|
virtualdefault |
|
pure virtual |
Create device connection.
| device | Device to connect to |
Implemented in duvc::WindowsPlatformInterface.
|
pure virtual |
Check if device is connected.
| device | Device to check |
Implemented in duvc::WindowsPlatformInterface.
Enumerate available devices.
Implemented in duvc::WindowsPlatformInterface.