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

CNTV2Card widget routing function implementations. More...

#include "ntv2card.h"
#include "ntv2utils.h"
#include "ntv2registerexpert.h"
#include "ajabase/system/debug.h"
#include <deque>
Include dependency graph for ntv2regroute.cpp:

Go to the source code of this file.

Macros

#define HEX16(__x__)   "0x" << hex << setw(16) << setfill('0') << uint64_t(__x__) << dec
 
#define INSTP(_p_)   HEX16(uint64_t(_p_))
 
#define LOGGING_ROUTING_CHANGES   (AJADebug::IsActive(AJA_DebugUnit_RoutingGeneric))
 
#define ROUTEFAIL(__x__)   AJA_sERROR (AJA_DebugUnit_RoutingGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 
#define ROUTEWARN(__x__)   AJA_sWARNING(AJA_DebugUnit_RoutingGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 
#define ROUTENOTE(__x__)   AJA_sNOTICE (AJA_DebugUnit_RoutingGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 
#define ROUTEINFO(__x__)   AJA_sINFO (AJA_DebugUnit_RoutingGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 
#define ROUTEDBG(__x__)   AJA_sDEBUG (AJA_DebugUnit_RoutingGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)
 

Typedefs

typedef deque< NTV2InputCrosspointIDNTV2InputCrosspointQueue
 
typedef NTV2InputCrosspointQueue::const_iterator NTV2InputCrosspointQueueConstIter
 
typedef NTV2InputCrosspointQueue::iterator NTV2InputCrosspointQueueIter
 

Variables

static const ULWord sMasks [] = { 0x000000FF, 0x0000FF00, 0x00FF0000, 0xFF000000 }
 
static const ULWord sShifts [] = { 0, 8, 16, 24 }
 

Detailed Description

CNTV2Card widget routing function implementations.

Definition in file ntv2regroute.cpp.

Macro Definition Documentation

◆ HEX16

#define HEX16 (   __x__)    "0x" << hex << setw(16) << setfill('0') << uint64_t(__x__) << dec

Definition at line 16 of file ntv2regroute.cpp.

◆ INSTP

#define INSTP (   _p_)    HEX16(uint64_t(_p_))

Definition at line 17 of file ntv2regroute.cpp.

◆ LOGGING_ROUTING_CHANGES

#define LOGGING_ROUTING_CHANGES   (AJADebug::IsActive(AJA_DebugUnit_RoutingGeneric))

Definition at line 18 of file ntv2regroute.cpp.

◆ ROUTEDBG

#define ROUTEDBG (   __x__)    AJA_sDEBUG (AJA_DebugUnit_RoutingGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 23 of file ntv2regroute.cpp.

◆ ROUTEFAIL

#define ROUTEFAIL (   __x__)    AJA_sERROR (AJA_DebugUnit_RoutingGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 19 of file ntv2regroute.cpp.

◆ ROUTEINFO

#define ROUTEINFO (   __x__)    AJA_sINFO (AJA_DebugUnit_RoutingGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 22 of file ntv2regroute.cpp.

◆ ROUTENOTE

#define ROUTENOTE (   __x__)    AJA_sNOTICE (AJA_DebugUnit_RoutingGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 21 of file ntv2regroute.cpp.

◆ ROUTEWARN

#define ROUTEWARN (   __x__)    AJA_sWARNING(AJA_DebugUnit_RoutingGeneric, INSTP(this) << "::" << AJAFUNC << ": " << __x__)

Definition at line 20 of file ntv2regroute.cpp.

Typedef Documentation

◆ NTV2InputCrosspointQueue

Definition at line 357 of file ntv2regroute.cpp.

◆ NTV2InputCrosspointQueueConstIter

typedef NTV2InputCrosspointQueue::const_iterator NTV2InputCrosspointQueueConstIter

Definition at line 358 of file ntv2regroute.cpp.

◆ NTV2InputCrosspointQueueIter

typedef NTV2InputCrosspointQueue::iterator NTV2InputCrosspointQueueIter

Definition at line 359 of file ntv2regroute.cpp.

Variable Documentation

◆ sMasks

const ULWord sMasks[] = { 0x000000FF, 0x0000FF00, 0x00FF0000, 0xFF000000 }
static

Definition at line 26 of file ntv2regroute.cpp.

◆ sShifts

const ULWord sShifts[] = { 0, 8, 16, 24 }
static

Definition at line 27 of file ntv2regroute.cpp.