|
duvc-ctl 2.0.0
USB Video Class Camera Control Library
|
Windows DirectShow platform implementation. More...
Public Member Functions | |
| Result< std::vector< Device > > | list_devices () override |
| Enumerate available devices. | |
| Result< bool > | is_device_connected (const Device &device) override |
| Check if device is connected. | |
| Result< std::unique_ptr< IDeviceConnection > > | create_connection (const Device &device) override |
| Create device connection. | |
Public Member Functions inherited from duvc::IPlatformInterface | |
| virtual | ~IPlatformInterface ()=default |
Windows DirectShow platform implementation.
Definition at line 21 of file factory.cpp.
|
inlineoverridevirtual |
Create device connection.
| device | Device to connect to |
Implements duvc::IPlatformInterface.
Definition at line 43 of file factory.cpp.
References duvc::DeviceNotFound, duvc::Ok(), and duvc::SystemError.
|
inlineoverridevirtual |
Check if device is connected.
| device | Device to check |
Implements duvc::IPlatformInterface.
Definition at line 33 of file factory.cpp.
References duvc::Ok(), and duvc::SystemError.
|
inlineoverridevirtual |
Enumerate available devices.
Implements duvc::IPlatformInterface.
Definition at line 23 of file factory.cpp.
References duvc::Ok(), and duvc::SystemError.