AJA NTV2 SDK  17.1.1.1245
NTV2 SDK 17.1.1.1245
ntv2driverinterface.cpp File Reference

Implements the CNTV2DriverInterface class. More...

#include "ajatypes.h"
#include "ntv2enums.h"
#include "ntv2debug.h"
#include "ntv2driverinterface.h"
#include "ntv2devicefeatures.h"
#include "ntv2nubaccess.h"
#include "ntv2bitfile.h"
#include "ntv2registersmb.h"
#include "ntv2spiinterface.h"
#include "ntv2utils.h"
#include "ntv2version.h"
#include "ntv2devicescanner.h"
#include "ajabase/system/debug.h"
#include "ajabase/system/atomic.h"
#include "ajabase/system/systemtime.h"
#include "ajabase/system/process.h"
#include "ajabase/common/common.h"
#include <string.h>
#include <assert.h>
#include <iostream>
#include <sstream>
#include <algorithm>
#include <map>
Include dependency graph for ntv2driverinterface.cpp:

Go to the source code of this file.

Macros

#define INSTP(_p_)   HEX0N(uint64_t(_p_),16)
 
#define DIFAIL(__x__)   AJA_sERROR (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 
#define DIWARN(__x__)   AJA_sWARNING(AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 
#define DINOTE(__x__)   AJA_sNOTICE (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 
#define DIINFO(__x__)   AJA_sINFO (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 
#define DIDBG(__x__)   AJA_sDEBUG (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 
#define DIDBGX(__x__)
 

Functions

static uint32_t gConstructCount (0)
 
static uint32_t gDestructCount (0)
 
static uint32_t gOpenCount (0)
 
static uint32_t gCloseCount (0)
 
static bool gSharedMode ((0))
 
static bool gOverlappedMode ((0))
 
const uint32_t kAgentAppFcc (((((uint32_t)( 'A'))<< 24)|(((uint32_t)( 'j'))<< 16)|(((uint32_t)( 'a'))<< 8)|(((uint32_t)( 'A'))<< 0)))
 

Detailed Description

Implements the CNTV2DriverInterface class.

Definition in file ntv2driverinterface.cpp.

Macro Definition Documentation

◆ DIDBG

#define DIDBG (   __x__)    AJA_sDEBUG (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 39 of file ntv2driverinterface.cpp.

◆ DIDBGX

#define DIDBGX (   __x__)

Definition at line 50 of file ntv2driverinterface.cpp.

◆ DIFAIL

#define DIFAIL (   __x__)    AJA_sERROR (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 35 of file ntv2driverinterface.cpp.

◆ DIINFO

#define DIINFO (   __x__)    AJA_sINFO (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 38 of file ntv2driverinterface.cpp.

◆ DINOTE

#define DINOTE (   __x__)    AJA_sNOTICE (AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 37 of file ntv2driverinterface.cpp.

◆ DIWARN

#define DIWARN (   __x__)    AJA_sWARNING(AJA_DebugUnit_DriverInterface, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 36 of file ntv2driverinterface.cpp.

◆ INSTP

#define INSTP (   _p_)    HEX0N(uint64_t(_p_),16)

Definition at line 34 of file ntv2driverinterface.cpp.

Function Documentation

◆ gCloseCount()

static uint32_t gCloseCount ( )
static

◆ gConstructCount()

static uint32_t gConstructCount ( )
static

◆ gDestructCount()

static uint32_t gDestructCount ( )
static

◆ gOpenCount()

static uint32_t gOpenCount ( )
static

◆ gOverlappedMode()

static bool gOverlappedMode ( (0)  )
static

◆ gSharedMode()

static bool gSharedMode ( (0)  )
static

◆ kAgentAppFcc()

const uint32_t kAgentAppFcc ( ((((uint32_t)('A'))<< 24)|(((uint32_t)('j'))<< 16)|(((uint32_t)('a'))<< 8)|(((uint32_t)('A'))<< 0))  )