AJA NTV2 SDK  18.1.0.2439
NTV2 SDK 18.1.0.2439
ntv2card.cpp File Reference

Implements several CNTV2Card methods. Other implementation files are 'ntv2audio.cpp', 'ntv2dma.cpp', 'ntv2register.cpp', ... More...

#include "ntv2devicefeatures.h"
#include "ntv2card.h"
#include "ntv2debug.h"
#include "ntv2utils.h"
#include <sstream>
#include "ajabase/common/common.h"
#include "ajabase/system/info.h"
Include dependency graph for ntv2card.cpp:

Go to the source code of this file.

Macros

#define _TO_STR(_x_)   #_x_
 
#define InitStrToIDMap(_eid_, _t_, _max_, _fn_)
 

Detailed Description

Implements several CNTV2Card methods. Other implementation files are 'ntv2audio.cpp', 'ntv2dma.cpp', 'ntv2register.cpp', ...

Definition in file ntv2card.cpp.

Macro Definition Documentation

◆ _TO_STR

#define _TO_STR (   _x_)    #_x_

Definition at line 607 of file ntv2card.cpp.

◆ InitStrToIDMap

#define InitStrToIDMap (   _eid_,
  _t_,
  _max_,
  _fn_ 
)
Value:
m.clear(); \
for (n = 0; n < _max_; n++) \
{ \
if (!aja::lower(st = _fn_(_t_(n), false)).empty()) \
m[st] = n; \
if (!aja::lower(st = _fn_(_t_(n), true)).empty()) \
m[st] = n; \
} \
sStrToIDMaps.at(_eid_) = m;
unsigned int n
Definition: pstream.cpp:148
std::string & lower(std::string &str)
Definition: common.cpp:436

Definition at line 854 of file ntv2card.cpp.