duvc-ctl 2.0.0
USB Video Class Camera Control Library
Loading...
Searching...
No Matches
device.h File Reference

Device enumeration and management functions. More...

#include <duvc-ctl/core/types.h>
#include <functional>
#include <vector>
Include dependency graph for device.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  duvc
 

Functions

std::vector< Deviceduvc::list_devices ()
 Enumerate all available video input devices.
 
bool duvc::is_device_connected (const Device &dev)
 Check if a device is currently connected and accessible.
 
Device duvc::find_device_by_path (const std::wstring &device_path)
 Find device by unique Windows device path.
 
void duvc::register_device_change_callback (DeviceChangeCallback callback)
 Register callback for device hotplug events.
 
void duvc::unregister_device_change_callback ()
 Unregister device change callback.
 

Detailed Description

Device enumeration and management functions.

Definition in file device.h.