NDEVR
API Documentation
QMediaDeviceManager

Singleton manager that tracks available camera devices on the system. More...

Collaboration diagram for QMediaDeviceManager:
[legend]

Public Member Functions

const Buffer< MediaDeviceInfo > & cameraDevices () const
 Gets the list of available camera devices.

Static Public Member Functions

static QMediaDeviceManager & Default ()
 Gets the singleton instance.

Protected Member Functions

void updateCameraSources ()
 Refreshes the list of available camera sources.

Protected Attributes

Buffer< MediaDeviceInfom_camera_devices
 The cached list of camera devices.
QMediaDevices * m_devices = nullptr
 The Qt media devices monitor.

Detailed Description

Singleton manager that tracks available camera devices on the system.


Definition at line 211 of file LocalPhysicalCameraView.h.

Member Function Documentation

◆ cameraDevices()

const Buffer< MediaDeviceInfo > & QMediaDeviceManager::cameraDevices ( ) const
inline

Gets the list of available camera devices.

Returns
A reference to the buffer of MediaDeviceInfo objects.

Definition at line 227 of file LocalPhysicalCameraView.h.

References m_camera_devices.

◆ Default()

QMediaDeviceManager & QMediaDeviceManager::Default ( )
static

Gets the singleton instance.

Returns
A reference to the default QMediaDeviceManager.

The documentation for this class was generated from the following file: