AJA NTV2 SDK  17.0.1.1246
NTV2 SDK 17.0.1.1246
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
KonaNotifier Class Reference

Subclass of DeviceNotifier that notifies clients when Kona/Corvid/Io/TTap devices are attached/detached. More...

#include <devicenotifier.h>

Inheritance diagram for KonaNotifier:
[legend]
Collaboration diagram for KonaNotifier:
[legend]

Public Member Functions

 KonaNotifier (DeviceClientCallback callback, void *refcon)
 
virtual ~KonaNotifier ()
 
virtual bool Install (CFMutableDictionaryRef dict=NULL)
 
- Public Member Functions inherited from DeviceNotifier
 DeviceNotifier (DeviceClientCallback callback, void *refcon)
 
virtual ~DeviceNotifier ()
 
virtual void Uninstall ()
 
virtual void SetCallback (DeviceClientCallback callback, void *refcon)
 

Additional Inherited Members

- Static Public Member Functions inherited from DeviceNotifier
static std::string MessageTypeToStr (const natural_t messageType)
 
static void DeviceAddedCallback (DeviceNotifier *thisObject, io_iterator_t iterator)
 
static void DeviceRemovedCallback (DeviceNotifier *thisObject, io_iterator_t iterator)
 
static void DeviceChangedCallback (DeviceNotifier *thisObject, io_service_t unitService, natural_t messageType, void *message)
 
- Protected Member Functions inherited from DeviceNotifier
virtual CFMutableDictionaryRef CreateMatchingDictionary ()
 
virtual CFMutableDictionaryRef CreateMatchingDictionary (CFStringRef deviceDriverName)
 
virtual void DeviceAdded (io_iterator_t iterator)
 
virtual void DeviceRemoved (io_iterator_t iterator)
 
virtual void DeviceChanged (io_service_t unitService, natural_t messageType, void *message)
 
virtual void AddGeneralInterest (io_object_t service)
 
- Protected Attributes inherited from DeviceNotifier
void * m_refcon
 
DeviceClientCallback m_clientCallback
 
mach_port_t m_masterPort
 
IONotificationPortRef m_notificationPort
 
CFMutableDictionaryRef m_matchingDictionary
 
std::list< io_object_t > m_deviceMatchList
 
std::list< io_object_t > m_deviceInterestList
 

Detailed Description

Subclass of DeviceNotifier that notifies clients when Kona/Corvid/Io/TTap devices are attached/detached.

Definition at line 87 of file devicenotifier.h.

Constructor & Destructor Documentation

◆ KonaNotifier()

KonaNotifier::KonaNotifier ( DeviceClientCallback  callback,
void *  refcon 
)
inline

Definition at line 90 of file devicenotifier.h.

◆ ~KonaNotifier()

virtual KonaNotifier::~KonaNotifier ( )
inlinevirtual

Definition at line 92 of file devicenotifier.h.

Member Function Documentation

◆ Install()

bool KonaNotifier::Install ( CFMutableDictionaryRef  dict = NULL)
virtual

Reimplemented from DeviceNotifier.

Definition at line 356 of file devicenotifier.cpp.


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