AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
pnpimpl.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: MIT */
8
#ifndef AJA_PNP_IMPL_H
9
#define AJA_PNP_IMPL_H
10
11
#include "
ajabase/pnp/pnp.h
"
12
13
class
DeviceNotifier
;
14
15
16
class
AJAPnpImpl
17
{
18
public
:
19
AJAPnpImpl
();
20
virtual
~AJAPnpImpl
(
void
);
21
22
AJAStatus
Install
(
AJAPnpCallback
callback,
void
* refCon, uint32_t devices);
23
AJAStatus
Uninstall
(
void
);
24
25
inline
AJAPnpCallback
GetCallback
()
const
{
return
mCallback;}
26
inline
void
*
GetRefCon
()
const
{
return
mRefCon;}
27
inline
uint32_t
GetPnpDevices
()
const
{
return
mDevices;}
28
29
private
:
30
void
* mRefCon;
31
AJAPnpCallback
mCallback;
32
uint32_t mDevices;
33
34
DeviceNotifier
* mPciDevices;
35
};
36
37
#endif // AJA_PNP_IMPL_H
AJAPnpImpl::Uninstall
AJAStatus Uninstall(void)
Definition:
pnpimpl.cpp:57
AJAPnpImpl::GetCallback
AJAPnpCallback GetCallback() const
Definition:
pnpimpl.h:25
AJAPnpCallback
void(* AJAPnpCallback)(AJAPnpMessage inMessage, void *inRefCon)
If installed (see AJAPnp::Install) in an AJAPnp instance, this function is called when an AJA device ...
Definition:
pnp.h:39
AJAPnpImpl::GetRefCon
void * GetRefCon() const
Definition:
pnpimpl.h:26
AJAStatus
AJAStatus
Definition:
types.h:378
AJAPnpImpl::Install
AJAStatus Install(AJAPnpCallback callback, void *refCon, uint32_t devices)
Definition:
pnpimpl.cpp:32
AJAPnpImpl
Definition:
pnpimpl.h:13
pnp.h
Declares the AJAPnp (plug-and-play) class.
AJAPnpImpl::AJAPnpImpl
AJAPnpImpl()
Definition:
pnpimpl.cpp:20
AJAPnpImpl::~AJAPnpImpl
virtual ~AJAPnpImpl(void)
Definition:
pnpimpl.cpp:25
DeviceNotifier
Mac-specific class that notifies clients when AJA devices are attached/detached, etc.
Definition:
devicenotifier.h:33
AJAPnpImpl::GetPnpDevices
uint32_t GetPnpDevices() const
Definition:
pnpimpl.h:27
libajantv2
ajabase
pnp
mac
pnpimpl.h
Generated on Tue Dec 3 2024 10:25:59 for AJA NTV2 SDK by
1.8.17