AJA NTV2 SDK
17.0.1.1246
NTV2 SDK 17.0.1.1246
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:37
AJAPnpImpl::GetPnpDevices
uint32_t GetPnpDevices()
Definition:
pnpimpl.cpp:62
HANDLE
short HANDLE
Definition:
ajatypes.h:304
AJAPnpImpl::GetRefCon
void * GetRefCon()
Definition:
pnpimpl.cpp:55
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:365
AJAPnpImpl::Install
AJAStatus Install(AJAPnpCallback callback, void *refCon, uint32_t devices)
Definition:
pnpimpl.cpp:23
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:11
AJAPnpImpl::RemoveSignaled
void RemoveSignaled()
Definition:
pnpimpl.cpp:105
AJAPnpImpl::~AJAPnpImpl
virtual ~AJAPnpImpl(void)
Definition:
pnpimpl.cpp:16
AJAPnpImpl::GetCallback
AJAPnpCallback GetCallback()
Definition:
pnpimpl.cpp:48
libajantv2
ajabase
pnp
windows
pnpimpl.h
Generated on Tue Oct 1 2024 16:33:51 for AJA NTV2 SDK by
1.8.17