AJA NTV2 SDK  17.5.0.1242
NTV2 SDK 17.5.0.1242
pnp.h File Reference

Declares the AJAPnp (plug-and-play) class. More...

Include dependency graph for pnp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AJAPnp
 This is a platform-agnostic plug-and-play class that notifies a client when AJA devices are attached/detached, powered on/off, sleep/wake, etc. More...
 

Typedefs

typedef void(* AJAPnpCallback) (AJAPnpMessage inMessage, void *inRefCon)
 If installed (see AJAPnp::Install) in an AJAPnp instance, this function is called when an AJA device is attached/detached, powered on/off, etc. More...
 

Enumerations

enum  AJAPnpDevice { AJA_Pnp_PciVideoDevices = (1 << 0), AJA_Pnp_UsbSerialDevices = (1 << 1), AJA_Pnp_FireWireDevices = (1 << 2) }
 
enum  AJAPnpMessage {
  AJA_Pnp_DeviceAdded, AJA_Pnp_DeviceRemoved, AJA_Pnp_DeviceOnline, AJA_Pnp_DeviceOffline,
  AJA_Pnp_DeviceGoingToSleep, AJA_Pnp_DeviceWakingUp
}
 

Detailed Description

Declares the AJAPnp (plug-and-play) class.

Definition in file pnp.h.

Typedef Documentation

◆ AJAPnpCallback

typedef void(* AJAPnpCallback) (AJAPnpMessage inMessage, void *inRefCon)

If installed (see AJAPnp::Install) in an AJAPnp instance, this function is called when an AJA device is attached/detached, powered on/off, etc.

Parameters
[in]inMessageSpecifies the message (i.e., added, removed, etc.).
[in]inRefConSpecifies the reference cookie that was passed to AJAPnp::Install.

Definition at line 39 of file pnp.h.

Enumeration Type Documentation

◆ AJAPnpDevice

Enumerator
AJA_Pnp_PciVideoDevices 
AJA_Pnp_UsbSerialDevices 
AJA_Pnp_FireWireDevices 

Definition at line 14 of file pnp.h.

◆ AJAPnpMessage

Enumerator
AJA_Pnp_DeviceAdded 
AJA_Pnp_DeviceRemoved 
AJA_Pnp_DeviceOnline 
AJA_Pnp_DeviceOffline 
AJA_Pnp_DeviceGoingToSleep 
AJA_Pnp_DeviceWakingUp 

Definition at line 22 of file pnp.h.