AJA NTV2 SDK  17.1.1.1245
NTV2 SDK 17.1.1.1245
ntv2config2110.h File Reference

Declares the CNTV2Config2110 class. More...

#include "ntv2card.h"
#include "ntv2enums.h"
#include "ntv2registers2110.h"
#include "ntv2mbcontroller.h"
#include <string>
#include <iostream>
#include <fstream>
#include <sstream>
Include dependency graph for ntv2config2110.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TxVideoChData2110
 
struct  TxAudioChData2110
 
struct  TxAncChData2110
 
struct  RxVideoChData2110
 
struct  RxAudioChData2110
 
struct  RxAncChData2110
 
struct  SFPData2110
 
struct  IpStatus2110
 
struct  NetworkData2110
 
struct  TransmitVideoData2110
 
struct  TransmitAudioData2110
 
struct  TransmitAncData2110
 
struct  ReceiveVideoData2110
 
struct  ReceiveAudioData2110
 
struct  ReceiveAncData2110
 
class  tx_2110Config
 Configures a SMPTE 2110 Transmit Channel. More...
 
class  rx_2110Config
 Configures a SMPTE 2110 Receive Channel. More...
 
struct  multiRx_2110Config
 
class  CNTV2Config2110
 The CNTV2Config2110 class inquires and configures SMPTE 2110 network I/O for KONA IP and Io IP. More...
 

Macros

#define RX_USE_SFP_IP   BIT(31)
 Structs and enums that hold the virtual config data used by services the ControlPanel application and JSON parsers. More...
 
#define IP_STRSIZE   32
 

Enumerations

enum  VirtualDataTag2110 {
  kNetworkData2110 = ( (((uint32_t)( 'n' )) << 24) | (((uint32_t)( 't' )) << 16) | (((uint32_t)( '1' )) << 8) | (((uint32_t)( '3' )) << 0) ), kTransmitVideoData2110 = ( (((uint32_t)( 't' )) << 24) | (((uint32_t)( 'v' )) << 16) | (((uint32_t)( '1' )) << 8) | (((uint32_t)( '3' )) << 0) ), kTransmitAudioData2110 = ( (((uint32_t)( 't' )) << 24) | (((uint32_t)( 'a' )) << 16) | (((uint32_t)( '1' )) << 8) | (((uint32_t)( '3' )) << 0) ), kTransmitAncData2110 = ( (((uint32_t)( 't' )) << 24) | (((uint32_t)( 'n' )) << 16) | (((uint32_t)( '1' )) << 8) | (((uint32_t)( '3' )) << 0) ),
  kReceiveVideoData2110 = ( (((uint32_t)( 'r' )) << 24) | (((uint32_t)( 'v' )) << 16) | (((uint32_t)( '1' )) << 8) | (((uint32_t)( '3' )) << 0) ), kReceiveAudioData2110 = ( (((uint32_t)( 'r' )) << 24) | (((uint32_t)( 'a' )) << 16) | (((uint32_t)( '1' )) << 8) | (((uint32_t)( '3' )) << 0) ), kReceiveAncData2110 = ( (((uint32_t)( 'r' )) << 24) | (((uint32_t)( 'n' )) << 16) | (((uint32_t)( '1' )) << 8) | (((uint32_t)( '3' )) << 0) ), kChStatusData2110 = ( (((uint32_t)( 's' )) << 24) | (((uint32_t)( 't' )) << 16) | (((uint32_t)( '1' )) << 8) | (((uint32_t)( '3' )) << 0) )
}
 
enum  IpChStatusState { kIpStatusFail = 0, kIpStatusStopped = 1, kIpStatusRunning = 2 }
 

Functions

NTV2Stream ChToVideoStream (int ch)
 
int VideoStreamToCh (NTV2Stream s)
 
NTV2Stream ChToAudioStream (int ch)
 
int AudioStreamToCh (NTV2Stream s)
 
NTV2Stream ChToAncStream (int ch)
 
int AncStreamToCh (NTV2Stream s)
 

Detailed Description

Declares the CNTV2Config2110 class.

Definition in file ntv2config2110.h.

Macro Definition Documentation

◆ IP_STRSIZE

#define IP_STRSIZE   32

Definition at line 25 of file ntv2config2110.h.

◆ RX_USE_SFP_IP

#define RX_USE_SFP_IP   BIT(31)

Structs and enums that hold the virtual config data used by services the ControlPanel application and JSON parsers.

Definition at line 24 of file ntv2config2110.h.

Enumeration Type Documentation

◆ IpChStatusState

Enumerator
kIpStatusFail 
kIpStatusStopped 
kIpStatusRunning 

Definition at line 40 of file ntv2config2110.h.

◆ VirtualDataTag2110

Enumerator
kNetworkData2110 
kTransmitVideoData2110 
kTransmitAudioData2110 
kTransmitAncData2110 
kReceiveVideoData2110 
kReceiveAudioData2110 
kReceiveAncData2110 
kChStatusData2110 

Definition at line 28 of file ntv2config2110.h.

Function Documentation

◆ AncStreamToCh()

int AncStreamToCh ( NTV2Stream  s)
inline

Definition at line 227 of file ntv2config2110.h.

◆ AudioStreamToCh()

int AudioStreamToCh ( NTV2Stream  s)
inline

Definition at line 222 of file ntv2config2110.h.

◆ ChToAncStream()

NTV2Stream ChToAncStream ( int  ch)
inline

Definition at line 225 of file ntv2config2110.h.

◆ ChToAudioStream()

NTV2Stream ChToAudioStream ( int  ch)
inline

Definition at line 220 of file ntv2config2110.h.

◆ ChToVideoStream()

NTV2Stream ChToVideoStream ( int  ch)
inline

Definition at line 215 of file ntv2config2110.h.

◆ VideoStreamToCh()

int VideoStreamToCh ( NTV2Stream  s)
inline

Definition at line 217 of file ntv2config2110.h.