AJA NTV2 SDK  17.5.0.1242
NTV2 SDK 17.5.0.1242
RoutingExpert Class Reference

#include <ntv2routingexpert.h>

Public Member Functions

 ~RoutingExpert ()
 

Static Public Member Functions

static RoutingExpertPtr GetInstance (const bool inCreateIfNecessary=true)
 
static bool DisposeInstance (void)
 
static uint32_t NumInstances (void)
 

Protected Types

typedef std::map< std::string, NTV2InputXptIDString2InputXpt
 
typedef String2InputXpt::const_iterator String2InputXptConstIter
 
typedef std::map< NTV2InputXptID, std::string > InputXpt2String
 
typedef InputXpt2String::const_iterator InputXpt2StringConstIter
 
typedef std::map< std::string, NTV2OutputXptIDString2OutputXpt
 
typedef String2OutputXpt::const_iterator String2OutputXptConstIter
 
typedef std::map< NTV2OutputXptID, std::string > OutputXpt2String
 
typedef OutputXpt2String::const_iterator OutputXpt2StringConstIter
 
typedef std::set< NTV2WidgetTypeNTV2WidgetTypeSet
 
typedef NTV2WidgetTypeSet::const_iterator NTV2WidgetTypeSetConstIter
 
typedef std::pair< NTV2WidgetID, NTV2WidgetTypeWidget2TypePair
 
typedef std::multimap< NTV2WidgetID, NTV2WidgetTypeWidget2Types
 
typedef Widget2Types::const_iterator Widget2TypesConstIter
 
typedef std::pair< NTV2WidgetID, NTV2ChannelWidget2ChannelPair
 
typedef std::multimap< NTV2WidgetID, NTV2ChannelWidget2Channels
 
typedef Widget2Channels::const_iterator Widget2ChannelsConstIter
 
typedef std::pair< NTV2WidgetID, NTV2InputXptIDWidget2InputXptPair
 
typedef std::multimap< NTV2WidgetID, NTV2InputXptIDWidget2InputXpts
 
typedef Widget2InputXpts::const_iterator Widget2InputXptsConstIter
 
typedef std::pair< NTV2WidgetID, NTV2OutputXptIDWidget2OutputXptPair
 
typedef std::multimap< NTV2WidgetID, NTV2OutputXptIDWidget2OutputXpts
 
typedef Widget2OutputXpts::const_iterator Widget2OutputXptsConstIter
 
typedef std::multimap< NTV2InputXptID, NTV2WidgetIDInputXpt2WidgetIDs
 
typedef std::pair< NTV2InputXptID, NTV2WidgetIDInputXpt2WidgetIDPair
 
typedef InputXpt2WidgetIDs::const_iterator InputXpt2WidgetIDsConstIter
 
typedef std::multimap< NTV2OutputXptID, NTV2WidgetIDOutputXpt2WidgetIDs
 
typedef std::pair< NTV2OutputXptID, NTV2WidgetIDOutputXpt2WidgetIDPair
 
typedef OutputXpt2WidgetIDs::const_iterator OutputXpt2WidgetIDsConstIter
 

Protected Member Functions

std::string InputXptToString (const NTV2InputXptID inInputXpt) const
 
std::string OutputXptToString (const NTV2OutputXptID inOutputXpt) const
 
NTV2InputXptID StringToInputXpt (const std::string &inStr) const
 
NTV2OutputXptID StringToOutputXpt (const std::string &inStr) const
 
NTV2WidgetType WidgetIDToType (const NTV2WidgetID inWidgetID)
 
NTV2Channel WidgetIDToChannel (const NTV2WidgetID inWidgetID)
 
NTV2WidgetID WidgetIDFromTypeAndChannel (const NTV2WidgetType inWidgetType, const NTV2Channel inChannel)
 
bool GetWidgetsForOutput (const NTV2OutputXptID inOutputXpt, NTV2WidgetIDSet &outWidgetIDs) const
 
bool GetWidgetsForInput (const NTV2InputXptID inInputXpt, NTV2WidgetIDSet &outWidgetIDs) const
 
bool GetWidgetInputs (const NTV2WidgetID inWidgetID, NTV2InputXptIDSet &outInputs) const
 
bool GetWidgetOutputs (const NTV2WidgetID inWidgetID, NTV2OutputXptIDSet &outOutputs) const
 
bool IsOutputXptValid (const NTV2OutputXptID inOutputXpt) const
 
bool IsRGBOnlyInputXpt (const NTV2InputXptID inInputXpt) const
 
bool IsYUVOnlyInputXpt (const NTV2InputXptID inInputXpt) const
 
bool IsKeyInputXpt (const NTV2InputXptID inInputXpt) const
 
bool IsSDIWidget (const NTV2WidgetType inWidgetType) const
 
bool IsSDIInWidget (const NTV2WidgetType inWidgetType) const
 
bool IsSDIOutWidget (const NTV2WidgetType inWidgetType) const
 
bool Is3GSDIWidget (const NTV2WidgetType inWidgetType) const
 
bool Is12GSDIWidget (const NTV2WidgetType inWidgetType) const
 
bool IsDualLinkWidget (const NTV2WidgetType inWidgetType) const
 
bool IsDualLinkInWidget (const NTV2WidgetType inWidgetType) const
 
bool IsDualLinkOutWidget (const NTV2WidgetType inWidgetType) const
 
bool IsHDMIWidget (const NTV2WidgetType inWidgetType) const
 
bool IsHDMIInWidget (const NTV2WidgetType inWidgetType) const
 
bool IsHDMIOutWidget (const NTV2WidgetType inWidgetType) const
 

Friends

class CNTV2SignalRouter
 

Detailed Description

Definition at line 19 of file ntv2routingexpert.h.

Member Typedef Documentation

◆ InputXpt2String

typedef std::map<NTV2InputXptID, std::string> RoutingExpert::InputXpt2String
protected

Definition at line 65 of file ntv2routingexpert.h.

◆ InputXpt2StringConstIter

typedef InputXpt2String::const_iterator RoutingExpert::InputXpt2StringConstIter
protected

Definition at line 66 of file ntv2routingexpert.h.

◆ InputXpt2WidgetIDPair

Definition at line 94 of file ntv2routingexpert.h.

◆ InputXpt2WidgetIDs

Definition at line 93 of file ntv2routingexpert.h.

◆ InputXpt2WidgetIDsConstIter

typedef InputXpt2WidgetIDs::const_iterator RoutingExpert::InputXpt2WidgetIDsConstIter
protected

Definition at line 95 of file ntv2routingexpert.h.

◆ NTV2WidgetTypeSet

typedef std::set<NTV2WidgetType> RoutingExpert::NTV2WidgetTypeSet
protected

Definition at line 74 of file ntv2routingexpert.h.

◆ NTV2WidgetTypeSetConstIter

typedef NTV2WidgetTypeSet::const_iterator RoutingExpert::NTV2WidgetTypeSetConstIter
protected

Definition at line 75 of file ntv2routingexpert.h.

◆ OutputXpt2String

typedef std::map<NTV2OutputXptID, std::string> RoutingExpert::OutputXpt2String
protected

Definition at line 71 of file ntv2routingexpert.h.

◆ OutputXpt2StringConstIter

typedef OutputXpt2String::const_iterator RoutingExpert::OutputXpt2StringConstIter
protected

Definition at line 72 of file ntv2routingexpert.h.

◆ OutputXpt2WidgetIDPair

Definition at line 98 of file ntv2routingexpert.h.

◆ OutputXpt2WidgetIDs

Definition at line 97 of file ntv2routingexpert.h.

◆ OutputXpt2WidgetIDsConstIter

typedef OutputXpt2WidgetIDs::const_iterator RoutingExpert::OutputXpt2WidgetIDsConstIter
protected

Definition at line 99 of file ntv2routingexpert.h.

◆ String2InputXpt

typedef std::map<std::string, NTV2InputXptID> RoutingExpert::String2InputXpt
protected

Definition at line 62 of file ntv2routingexpert.h.

◆ String2InputXptConstIter

typedef String2InputXpt::const_iterator RoutingExpert::String2InputXptConstIter
protected

Definition at line 63 of file ntv2routingexpert.h.

◆ String2OutputXpt

typedef std::map<std::string, NTV2OutputXptID> RoutingExpert::String2OutputXpt
protected

Definition at line 68 of file ntv2routingexpert.h.

◆ String2OutputXptConstIter

typedef String2OutputXpt::const_iterator RoutingExpert::String2OutputXptConstIter
protected

Definition at line 69 of file ntv2routingexpert.h.

◆ Widget2ChannelPair

Definition at line 81 of file ntv2routingexpert.h.

◆ Widget2Channels

typedef std::multimap<NTV2WidgetID, NTV2Channel> RoutingExpert::Widget2Channels
protected

Definition at line 82 of file ntv2routingexpert.h.

◆ Widget2ChannelsConstIter

typedef Widget2Channels::const_iterator RoutingExpert::Widget2ChannelsConstIter
protected

Definition at line 83 of file ntv2routingexpert.h.

◆ Widget2InputXptPair

Definition at line 85 of file ntv2routingexpert.h.

◆ Widget2InputXpts

typedef std::multimap<NTV2WidgetID, NTV2InputXptID> RoutingExpert::Widget2InputXpts
protected

Definition at line 86 of file ntv2routingexpert.h.

◆ Widget2InputXptsConstIter

typedef Widget2InputXpts::const_iterator RoutingExpert::Widget2InputXptsConstIter
protected

Definition at line 87 of file ntv2routingexpert.h.

◆ Widget2OutputXptPair

Definition at line 89 of file ntv2routingexpert.h.

◆ Widget2OutputXpts

Definition at line 90 of file ntv2routingexpert.h.

◆ Widget2OutputXptsConstIter

typedef Widget2OutputXpts::const_iterator RoutingExpert::Widget2OutputXptsConstIter
protected

Definition at line 91 of file ntv2routingexpert.h.

◆ Widget2TypePair

Definition at line 77 of file ntv2routingexpert.h.

◆ Widget2Types

typedef std::multimap<NTV2WidgetID, NTV2WidgetType> RoutingExpert::Widget2Types
protected

Definition at line 78 of file ntv2routingexpert.h.

◆ Widget2TypesConstIter

typedef Widget2Types::const_iterator RoutingExpert::Widget2TypesConstIter
protected

Definition at line 79 of file ntv2routingexpert.h.

Constructor & Destructor Documentation

◆ ~RoutingExpert()

RoutingExpert::~RoutingExpert ( )

Definition at line 71 of file ntv2routingexpert.cpp.

Member Function Documentation

◆ DisposeInstance()

bool RoutingExpert::DisposeInstance ( void  )
static

Definition at line 37 of file ntv2routingexpert.cpp.

◆ GetInstance()

RoutingExpertPtr RoutingExpert::GetInstance ( const bool  inCreateIfNecessary = true)
static

Definition at line 29 of file ntv2routingexpert.cpp.

◆ GetWidgetInputs()

bool RoutingExpert::GetWidgetInputs ( const NTV2WidgetID  inWidgetID,
NTV2InputXptIDSet outInputs 
) const
protected

Definition at line 171 of file ntv2routingexpert.cpp.

◆ GetWidgetOutputs()

bool RoutingExpert::GetWidgetOutputs ( const NTV2WidgetID  inWidgetID,
NTV2OutputXptIDSet outOutputs 
) const
protected

Definition at line 185 of file ntv2routingexpert.cpp.

◆ GetWidgetsForInput()

bool RoutingExpert::GetWidgetsForInput ( const NTV2InputXptID  inInputXpt,
NTV2WidgetIDSet outWidgetIDs 
) const
protected

Definition at line 157 of file ntv2routingexpert.cpp.

◆ GetWidgetsForOutput()

bool RoutingExpert::GetWidgetsForOutput ( const NTV2OutputXptID  inOutputXpt,
NTV2WidgetIDSet outWidgetIDs 
) const
protected

Definition at line 145 of file ntv2routingexpert.cpp.

◆ InputXptToString()

std::string RoutingExpert::InputXptToString ( const NTV2InputXptID  inInputXpt) const
protected

Definition at line 77 of file ntv2routingexpert.cpp.

◆ Is12GSDIWidget()

bool RoutingExpert::Is12GSDIWidget ( const NTV2WidgetType  inWidgetType) const
protected

Definition at line 255 of file ntv2routingexpert.cpp.

◆ Is3GSDIWidget()

bool RoutingExpert::Is3GSDIWidget ( const NTV2WidgetType  inWidgetType) const
protected

Definition at line 248 of file ntv2routingexpert.cpp.

◆ IsDualLinkInWidget()

bool RoutingExpert::IsDualLinkInWidget ( const NTV2WidgetType  inWidgetType) const
protected

Definition at line 269 of file ntv2routingexpert.cpp.

◆ IsDualLinkOutWidget()

bool RoutingExpert::IsDualLinkOutWidget ( const NTV2WidgetType  inWidgetType) const
protected

Definition at line 276 of file ntv2routingexpert.cpp.

◆ IsDualLinkWidget()

bool RoutingExpert::IsDualLinkWidget ( const NTV2WidgetType  inWidgetType) const
protected

Definition at line 262 of file ntv2routingexpert.cpp.

◆ IsHDMIInWidget()

bool RoutingExpert::IsHDMIInWidget ( const NTV2WidgetType  inWidgetType) const
protected

Definition at line 290 of file ntv2routingexpert.cpp.

◆ IsHDMIOutWidget()

bool RoutingExpert::IsHDMIOutWidget ( const NTV2WidgetType  inWidgetType) const
protected

Definition at line 297 of file ntv2routingexpert.cpp.

◆ IsHDMIWidget()

bool RoutingExpert::IsHDMIWidget ( const NTV2WidgetType  inWidgetType) const
protected

Definition at line 283 of file ntv2routingexpert.cpp.

◆ IsKeyInputXpt()

bool RoutingExpert::IsKeyInputXpt ( const NTV2InputXptID  inInputXpt) const
protected

Definition at line 220 of file ntv2routingexpert.cpp.

◆ IsOutputXptValid()

bool RoutingExpert::IsOutputXptValid ( const NTV2OutputXptID  inOutputXpt) const
protected

Definition at line 199 of file ntv2routingexpert.cpp.

◆ IsRGBOnlyInputXpt()

bool RoutingExpert::IsRGBOnlyInputXpt ( const NTV2InputXptID  inInputXpt) const
protected

Definition at line 206 of file ntv2routingexpert.cpp.

◆ IsSDIInWidget()

bool RoutingExpert::IsSDIInWidget ( const NTV2WidgetType  inWidgetType) const
protected

Definition at line 234 of file ntv2routingexpert.cpp.

◆ IsSDIOutWidget()

bool RoutingExpert::IsSDIOutWidget ( const NTV2WidgetType  inWidgetType) const
protected

Definition at line 241 of file ntv2routingexpert.cpp.

◆ IsSDIWidget()

bool RoutingExpert::IsSDIWidget ( const NTV2WidgetType  inWidgetType) const
protected

Definition at line 227 of file ntv2routingexpert.cpp.

◆ IsYUVOnlyInputXpt()

bool RoutingExpert::IsYUVOnlyInputXpt ( const NTV2InputXptID  inInputXpt) const
protected

Definition at line 213 of file ntv2routingexpert.cpp.

◆ NumInstances()

uint32_t RoutingExpert::NumInstances ( void  )
static

Definition at line 46 of file ntv2routingexpert.cpp.

◆ OutputXptToString()

std::string RoutingExpert::OutputXptToString ( const NTV2OutputXptID  inOutputXpt) const
protected

Definition at line 85 of file ntv2routingexpert.cpp.

◆ StringToInputXpt()

NTV2InputXptID RoutingExpert::StringToInputXpt ( const std::string &  inStr) const
protected

Definition at line 93 of file ntv2routingexpert.cpp.

◆ StringToOutputXpt()

NTV2OutputXptID RoutingExpert::StringToOutputXpt ( const std::string &  inStr) const
protected

Definition at line 102 of file ntv2routingexpert.cpp.

◆ WidgetIDFromTypeAndChannel()

NTV2WidgetID RoutingExpert::WidgetIDFromTypeAndChannel ( const NTV2WidgetType  inWidgetType,
const NTV2Channel  inChannel 
)
protected

Definition at line 134 of file ntv2routingexpert.cpp.

◆ WidgetIDToChannel()

NTV2Channel RoutingExpert::WidgetIDToChannel ( const NTV2WidgetID  inWidgetID)
protected

Definition at line 123 of file ntv2routingexpert.cpp.

◆ WidgetIDToType()

NTV2WidgetType RoutingExpert::WidgetIDToType ( const NTV2WidgetID  inWidgetID)
protected

Definition at line 111 of file ntv2routingexpert.cpp.

Friends And Related Function Documentation

◆ CNTV2SignalRouter

friend class CNTV2SignalRouter
friend

Definition at line 22 of file ntv2routingexpert.h.


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