AV module
WindowsDeviceWatcher
Monitors device add/remove events via IMMNotificationClient (audio) and RegisterDeviceNotification (video).
WindowsDeviceWatcher
#include <icy/av/win32/mediafoundation.h>class WindowsDeviceWatcherDefined in src/av/include/icy/av/win32/mediafoundation.h:61
Inherits:
DeviceWatcher
Monitors device add/remove events via IMMNotificationClient (audio) and RegisterDeviceNotification (video).
List of all members
| Name | Kind | Owner |
|---|---|---|
WindowsDeviceWatcher | function | Declared here |
~WindowsDeviceWatcher | function | Declared here |
start | function | Declared here |
stop | function | Declared here |
_impl | variable | Declared here |
_manager | variable | Declared here |
DeviceWatcher | function | Inherited from DeviceWatcher |
~DeviceWatcher | function | Inherited from DeviceWatcher |
start | function | Inherited from DeviceWatcher |
stop | function | Inherited from DeviceWatcher |
Inherited from DeviceWatcher
| Kind | Name | Description |
|---|---|---|
function | DeviceWatcher inline explicit | |
function | ~DeviceWatcher virtual noexcept | Defaulted destructor. |
function | start virtual inline | |
function | stop virtual inline |
Public Methods
| Return | Name | Description |
|---|---|---|
WindowsDeviceWatcher explicit | ||
bool | start virtual override | Begin monitoring via IMMNotificationClient and RegisterDeviceNotification. |
void | stop virtual override | Stop monitoring and unregister all device notifications. |
WindowsDeviceWatcher
explicit
explicit WindowsDeviceWatcher(DeviceManager * manager)Defined in src/av/include/icy/av/win32/mediafoundation.h:65
Parameters
managerThe DeviceManager whose DevicesChanged signal will be emitted on changes.
start
virtual override
virtual bool start() overrideDefined in src/av/include/icy/av/win32/mediafoundation.h:70
Begin monitoring via IMMNotificationClient and RegisterDeviceNotification.
Returns
True if monitoring was successfully started.
Reimplements
stop
virtual override
virtual void stop() overrideDefined in src/av/include/icy/av/win32/mediafoundation.h:73
Stop monitoring and unregister all device notifications.
Reimplements
Private Attributes
_impl
std::unique_ptr< Impl > _implDefined in src/av/include/icy/av/win32/mediafoundation.h:78
_manager
DeviceManager * _manager