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 <Windows.h>
12
#include "
ajabase/pnp/pnp.h
"
13
14
class
AJAPnpImpl
15
{
16
public
:
17
AJAPnpImpl
();
18
virtual
~AJAPnpImpl
(
void
);
19
20
AJAStatus
Install
(
AJAPnpCallback
callback,
void
* refCon, uint32_t devices);
21
AJAStatus
Uninstall
(
void
);
22
23
AJAPnpCallback
GetCallback
();
24
void
*
GetRefCon
();
25
uint32_t
GetPnpDevices
();
26
void
AddSignaled
();
27
void
RemoveSignaled
();
28
29
private
:
30
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:57
AJAPnpImpl::GetPnpDevices
uint32_t GetPnpDevices()
Definition:
pnpimpl.cpp:94
HANDLE
short HANDLE
Definition:
ajatypes.h:315
AJAPnpImpl::GetRefCon
void * GetRefCon()
Definition:
pnpimpl.cpp:87
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::Install
AJAStatus Install(AJAPnpCallback callback, void *refCon, uint32_t devices)
Definition:
pnpimpl.cpp:32
AJAPnpImpl::AddSignaled
void AddSignaled()
Definition:
pnpimpl.cpp:95
AJAPnpImpl
Definition:
pnpimpl.h:13
pnp.h
Declares the AJAPnp (plug-and-play) class.
AJAPnpImpl::AJAPnpImpl
AJAPnpImpl()
Definition:
pnpimpl.cpp:20
AJAPnpImpl::RemoveSignaled
void RemoveSignaled()
Definition:
pnpimpl.cpp:105
AJAPnpImpl::~AJAPnpImpl
virtual ~AJAPnpImpl(void)
Definition:
pnpimpl.cpp:25
AJAPnpImpl::GetCallback
AJAPnpCallback GetCallback()
Definition:
pnpimpl.cpp:80
libajantv2
ajabase
pnp
windows
pnpimpl.h
Generated on Tue Dec 3 2024 10:25:59 for AJA NTV2 SDK by
1.8.17