AJA NTV2 SDK
17.5.0.1492
NTV2 SDK 17.5.0.1492
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 <Windows.h>
12
#include "
ajabase/pnp/pnp.h
"
13
14
class
AJAPnpImpl
15
{
16
public
:
17
AJAPnpImpl
();
18
virtual
~AJAPnpImpl
();
19
20
AJAStatus
Install
(
AJAPnpCallback
callback,
void
* refCon, uint32_t devices);
21
AJAStatus
Uninstall
(
void
);
22
23
inline
AJAPnpCallback
GetCallback
(
void
)
const
{
return
mCallback;}
24
inline
void
*
GetRefCon
(
void
)
const
{
return
mRefCon;}
25
inline
uint32_t
GetPnpDevices
(
void
)
const
{
return
mDevices;}
26
27
void
AddSignaled
(
void
);
28
void
RemoveSignaled
(
void
);
29
30
private
:
31
void
* mRefCon;
32
AJAPnpCallback
mCallback;
33
uint32_t mDevices;
34
HANDLE
mAddEventHandle;
35
HANDLE
mAddWaitHandle;
36
HANDLE
mRemoveEventHandle;
37
HANDLE
mRemoveWaitHandle;
38
bool
mbInstalled;
39
};
40
41
#endif // AJA_PNP_IMPL_H
AJAPnpImpl::Uninstall
AJAStatus Uninstall(void)
Definition:
pnpimpl.cpp:62
HANDLE
short HANDLE
Definition:
ajatypes.h:317
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
AJAStatus
AJAStatus
Definition:
types.h:378
AJAPnpImpl::GetPnpDevices
uint32_t GetPnpDevices(void) const
Definition:
pnpimpl.h:25
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::GetCallback
AJAPnpCallback GetCallback(void) const
Definition:
pnpimpl.h:23
AJAPnpImpl::AddSignaled
void AddSignaled(void)
Definition:
pnpimpl.cpp:90
AJAPnpImpl::~AJAPnpImpl
virtual ~AJAPnpImpl(void)
Definition:
pnpimpl.cpp:25
AJAPnpImpl::RemoveSignaled
void RemoveSignaled(void)
Definition:
pnpimpl.cpp:100
AJAPnpImpl::GetRefCon
void * GetRefCon(void) const
Definition:
pnpimpl.h:24
libajantv2
ajabase
pnp
windows
pnpimpl.h
Generated on Mon Jan 13 2025 12:31:36 for AJA NTV2 SDK by
1.8.17