AV module
AppleDeviceWatcher
Monitors device add/remove events via AVFoundation notifications and CoreAudio property listeners.
AppleDeviceWatcher
#include <icy/av/apple/coreaudio.h>class AppleDeviceWatcherDefined in src/av/include/icy/av/apple/coreaudio.h:46
Inherits:
DeviceWatcher
Monitors device add/remove events via AVFoundation notifications and CoreAudio property listeners.
List of all members
| Name | Kind | Owner |
|---|---|---|
AppleDeviceWatcher | function | Declared here |
~AppleDeviceWatcher | 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 |
|---|---|---|
AppleDeviceWatcher explicit | ||
bool | start virtual override | Begin monitoring for device connect/disconnect events. |
void | stop virtual override | Stop monitoring and release all notification observers. |
AppleDeviceWatcher
explicit
explicit AppleDeviceWatcher(DeviceManager * manager)Defined in src/av/include/icy/av/apple/coreaudio.h:50
Parameters
managerThe DeviceManager whose DevicesChanged signal will be emitted on changes.
start
virtual override
virtual bool start() overrideDefined in src/av/include/icy/av/apple/coreaudio.h:55
Begin monitoring for device connect/disconnect events.
Returns
True if monitoring was successfully started.
Reimplements
stop
virtual override
virtual void stop() overrideDefined in src/av/include/icy/av/apple/coreaudio.h:58
Stop monitoring and release all notification observers.
Reimplements
Private Attributes
_impl
std::unique_ptr< Impl > _implDefined in src/av/include/icy/av/apple/coreaudio.h:63
_manager
DeviceManager * _manager