AJA NTV2 SDK  17.5.0.1242
NTV2 SDK 17.5.0.1242
CNTV2MBController Class Reference

#include <ntv2mbcontroller.h>

Inheritance diagram for CNTV2MBController:
[legend]
Collaboration diagram for CNTV2MBController:
[legend]

Public Member Functions

 CNTV2MBController (CNTV2Card &device)
 
- Public Member Functions inherited from CNTV2MailBox
 CNTV2MailBox (CNTV2Card &device)
 
 ~CNTV2MailBox ()
 
bool sendMsg (char *msg, uint32_t timeout)
 
bool sendMsg (uint32_t timeout)
 
void getError (std::string &error)
 
void getResponse (std::string &response)
 
bool WriteChannelRegister (ULWord reg, ULWord value, ULWord mask=0xFFFFFFFF, ULWord shift=0x0)
 
bool ReadChannelRegister (const ULWord inReg, ULWord &outValue, const ULWord inMask=0xFFFFFFFF, const ULWord inShift=0x0)
 
bool ReadChannelRegister (ULWord inReg, ULWord *pOutValue, ULWord mask=0xFFFFFFFF, ULWord shift=0x0)
 
void SetChannel (ULWord channelOffset, ULWord channelNumber)
 
bool AcquireMailbox ()
 
void ReleaseMailbox ()
 

Protected Member Functions

bool SetMBNetworkConfiguration (eSFP port, std::string ipaddr, std::string netmask, std::string gateway)
 
bool DisableNetworkInterface (eSFP port)
 
bool GetRemoteMAC (std::string remote_IPAddress, eSFP port, NTV2Stream stream, std::string &MACaddress)
 
bool SetIGMPVersion (uint32_t version)
 
void SetIGMPGroup (eSFP port, NTV2Stream stream, uint32_t mcast_addr, uint32_t src_addr, bool enable)
 
void UnsetIGMPGroup (eSFP port, NTV2Stream stream)
 
void EnableIGMPGroup (eSFP port, NTV2Stream stream, bool enable)
 
bool SetTxLinkState (NTV2Channel channel, bool sfp1Enable, bool sfp2Enable)
 
bool GetTxLinkState (NTV2Channel channel, bool &sfp1Enable, bool &sfp2Enable)
 
bool SetRxLinkState (NTV2Channel channel, bool sfp1Enable, bool sfp2Enable)
 
bool GetRxLinkState (NTV2Channel channel, bool &sfp1Enable, bool &sfp2Enable)
 
bool SetDualLinkMode (bool enable)
 
bool GetDualLinkMode (bool &enable)
 
bool SetRxMatch (NTV2Channel channel, eSFP link, uint8_t match)
 
bool GetRxMatch (NTV2Channel channel, eSFP link, uint8_t &match)
 
bool SetSFPActive (eSFP sfp)
 
bool SetSFPInactive (eSFP sfp)
 
bool GetSFPActive (eSFP sfp)
 
bool SetTxFormat (NTV2Channel chan, NTV2VideoFormat fmt)
 
bool GetTxFormat (NTV2Channel chan, NTV2VideoFormat &fmt)
 
uint64_t GetNTPTimestamp ()
 
bool PushSDP (std::string filename, std::stringstream &sdpstream)
 
bool GetSDP (std::string url, std::string &sdp)
 
bool GetSFPInfo (eSFP port, SFPMSAData &sfpdata)
 
bool SetLLDPInfo (std::string sysname)
 
bool GetLLDPInfo (std::string &chassisId0, std::string &portId0, std::string &chassisId1, std::string &portId1)
 
- Protected Member Functions inherited from CNTV2MailBox
bool rcvMsg (uint32_t timeout)
 
bool writeMB (uint32_t val, uint32_t timeout=50)
 
bool readMB (uint32_t &val, uint32_t timeout=50)
 
bool waitSOM (uint32_t timeout)
 
bool waitRxReady (uint32_t timeout)
 
bool waitTxReady (uint32_t timeout)
 
bool rxReady ()
 
uint32_t getStatus ()
 
uint32_t getFeatures ()
 

Additional Inherited Members

- Protected Attributes inherited from CNTV2MailBox
CNTV2CardmDevice
 
NTV2IpError mIpErrorCode
 
std::string mIpInternalErrorString
 
uint32_t txBuf [1024+1]
 

Detailed Description

Definition at line 128 of file ntv2mbcontroller.h.

Constructor & Destructor Documentation

◆ CNTV2MBController()

CNTV2MBController::CNTV2MBController ( CNTV2Card device)

Definition at line 45 of file ntv2mbcontroller.cpp.

Member Function Documentation

◆ DisableNetworkInterface()

bool CNTV2MBController::DisableNetworkInterface ( eSFP  port)
protected

Definition at line 99 of file ntv2mbcontroller.cpp.

◆ EnableIGMPGroup()

void CNTV2MBController::EnableIGMPGroup ( eSFP  port,
NTV2Stream  stream,
bool  enable 
)
protected

Definition at line 405 of file ntv2mbcontroller.cpp.

◆ GetDualLinkMode()

bool CNTV2MBController::GetDualLinkMode ( bool &  enable)
protected

Definition at line 622 of file ntv2mbcontroller.cpp.

◆ GetLLDPInfo()

bool CNTV2MBController::GetLLDPInfo ( std::string &  chassisId0,
std::string &  portId0,
std::string &  chassisId1,
std::string &  portId1 
)
protected

Definition at line 848 of file ntv2mbcontroller.cpp.

◆ GetNTPTimestamp()

uint64_t CNTV2MBController::GetNTPTimestamp ( )
protected

Definition at line 654 of file ntv2mbcontroller.cpp.

◆ GetRemoteMAC()

bool CNTV2MBController::GetRemoteMAC ( std::string  remote_IPAddress,
eSFP  port,
NTV2Stream  stream,
std::string &  MACaddress 
)
protected

Definition at line 189 of file ntv2mbcontroller.cpp.

◆ GetRxLinkState()

bool CNTV2MBController::GetRxLinkState ( NTV2Channel  channel,
bool &  sfp1Enable,
bool &  sfp2Enable 
)
protected

Definition at line 492 of file ntv2mbcontroller.cpp.

◆ GetRxMatch()

bool CNTV2MBController::GetRxMatch ( NTV2Channel  channel,
eSFP  link,
uint8_t &  match 
)
protected

Definition at line 535 of file ntv2mbcontroller.cpp.

◆ GetSDP()

bool CNTV2MBController::GetSDP ( std::string  url,
std::string &  sdp 
)
protected

Definition at line 725 of file ntv2mbcontroller.cpp.

◆ GetSFPActive()

bool CNTV2MBController::GetSFPActive ( eSFP  sfp)
protected

Definition at line 589 of file ntv2mbcontroller.cpp.

◆ GetSFPInfo()

bool CNTV2MBController::GetSFPInfo ( eSFP  port,
SFPMSAData sfpdata 
)
protected

Definition at line 785 of file ntv2mbcontroller.cpp.

◆ GetTxFormat()

bool CNTV2MBController::GetTxFormat ( NTV2Channel  chan,
NTV2VideoFormat fmt 
)
protected

Definition at line 642 of file ntv2mbcontroller.cpp.

◆ GetTxLinkState()

bool CNTV2MBController::GetTxLinkState ( NTV2Channel  channel,
bool &  sfp1Enable,
bool &  sfp2Enable 
)
protected

Definition at line 459 of file ntv2mbcontroller.cpp.

◆ PushSDP()

bool CNTV2MBController::PushSDP ( std::string  filename,
std::stringstream &  sdpstream 
)
protected

Definition at line 667 of file ntv2mbcontroller.cpp.

◆ SetDualLinkMode()

bool CNTV2MBController::SetDualLinkMode ( bool  enable)
protected

Definition at line 606 of file ntv2mbcontroller.cpp.

◆ SetIGMPGroup()

void CNTV2MBController::SetIGMPGroup ( eSFP  port,
NTV2Stream  stream,
uint32_t  mcast_addr,
uint32_t  src_addr,
bool  enable 
)
protected

Definition at line 380 of file ntv2mbcontroller.cpp.

◆ SetIGMPVersion()

bool CNTV2MBController::SetIGMPVersion ( uint32_t  version)
protected

Definition at line 149 of file ntv2mbcontroller.cpp.

◆ SetLLDPInfo()

bool CNTV2MBController::SetLLDPInfo ( std::string  sysname)
protected

Definition at line 913 of file ntv2mbcontroller.cpp.

◆ SetMBNetworkConfiguration()

bool CNTV2MBController::SetMBNetworkConfiguration ( eSFP  port,
std::string  ipaddr,
std::string  netmask,
std::string  gateway 
)
protected

Definition at line 49 of file ntv2mbcontroller.cpp.

◆ SetRxLinkState()

bool CNTV2MBController::SetRxLinkState ( NTV2Channel  channel,
bool  sfp1Enable,
bool  sfp2Enable 
)
protected

Definition at line 474 of file ntv2mbcontroller.cpp.

◆ SetRxMatch()

bool CNTV2MBController::SetRxMatch ( NTV2Channel  channel,
eSFP  link,
uint8_t  match 
)
protected

Definition at line 507 of file ntv2mbcontroller.cpp.

◆ SetSFPActive()

bool CNTV2MBController::SetSFPActive ( eSFP  sfp)
protected

Definition at line 556 of file ntv2mbcontroller.cpp.

◆ SetSFPInactive()

bool CNTV2MBController::SetSFPInactive ( eSFP  sfp)
protected

Definition at line 572 of file ntv2mbcontroller.cpp.

◆ SetTxFormat()

bool CNTV2MBController::SetTxFormat ( NTV2Channel  chan,
NTV2VideoFormat  fmt 
)
protected

Definition at line 631 of file ntv2mbcontroller.cpp.

◆ SetTxLinkState()

bool CNTV2MBController::SetTxLinkState ( NTV2Channel  channel,
bool  sfp1Enable,
bool  sfp2Enable 
)
protected

Definition at line 441 of file ntv2mbcontroller.cpp.

◆ UnsetIGMPGroup()

void CNTV2MBController::UnsetIGMPGroup ( eSFP  port,
NTV2Stream  stream 
)
protected

Definition at line 395 of file ntv2mbcontroller.cpp.


The documentation for this class was generated from the following files: