Home
AV module

AppleDeviceWatcher

Monitors device add/remove events via AVFoundation notifications and CoreAudio property listeners.

AppleDeviceWatcher

#include <icy/av/apple/coreaudio.h>
class AppleDeviceWatcher

Defined 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

NameKindOwner
AppleDeviceWatcherfunctionDeclared here
~AppleDeviceWatcherfunctionDeclared here
startfunctionDeclared here
stopfunctionDeclared here
_implvariableDeclared here
_managervariableDeclared here
DeviceWatcherfunctionInherited from DeviceWatcher
~DeviceWatcherfunctionInherited from DeviceWatcher
startfunctionInherited from DeviceWatcher
stopfunctionInherited from DeviceWatcher

Inherited from DeviceWatcher

KindNameDescription
functionDeviceWatcher inline explicit
function~DeviceWatcher virtual noexceptDefaulted destructor.
functionstart virtual inline
functionstop virtual inline

Public Methods

ReturnNameDescription
AppleDeviceWatcher explicit
boolstart virtual overrideBegin monitoring for device connect/disconnect events.
voidstop virtual overrideStop monitoring and release all notification observers.

AppleDeviceWatcher

explicit

explicit AppleDeviceWatcher(DeviceManager * manager)

Defined in src/av/include/icy/av/apple/coreaudio.h:50

Parameters

  • manager The DeviceManager whose DevicesChanged signal will be emitted on changes.

start

virtual override

virtual bool start() override

Defined 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() override

Defined in src/av/include/icy/av/apple/coreaudio.h:58

Stop monitoring and release all notification observers.

Reimplements

Private Attributes

ReturnNameDescription
std::unique_ptr< Impl >_impl
DeviceManager *_manager

_impl

std::unique_ptr< Impl > _impl

Defined in src/av/include/icy/av/apple/coreaudio.h:63


_manager

DeviceManager * _manager

Defined in src/av/include/icy/av/apple/coreaudio.h:64