6#include <duvc-ctl/detail/directshow_impl.h>
28 }
catch (
const std::exception &
e) {
37 }
catch (
const std::exception &
e) {
45 auto connection = detail::create_directshow_connection(device);
51 }
catch (
const std::exception &
e) {
62 return std::make_unique<WindowsPlatformInterface>();
Result type that can contain either a value or an error.
DirectShow-specific declarations and helpers.
Abstract platform interface for camera control.
@ SystemError
System/platform error.
@ DeviceNotFound
Device not found or disconnected.
std::unique_ptr< IPlatformInterface > create_platform_interface()
Get platform-specific interface implementation.
Result< void > Ok()
Helper to create successful void Result.
Represents a camera device.