8 #ifndef NTV2SIGNALROUTER_H
9 #define NTV2SIGNALROUTER_H
147 virtual inline void Reset (
void) {mConnections.clear ();}
176 virtual inline bool IsEmpty (
void)
const {
return mConnections.empty();}
219 virtual inline bool operator != (
const CNTV2SignalRouter & inRHS)
const {
return !(inRHS == *
this);}
228 virtual std::ostream & Print (std::ostream & inOutStream,
const bool inForRetailDisplay =
false)
const;
273 typedef NTV2XptConnections::iterator NTV2XptConnectionsIter;
289 static bool GetRouteROMInfoFromReg (
const ULWord inROMRegNum,
const ULWord inROMRegValue,
291 const bool inAppendOutputXpts =
false);
299 static bool GetPossibleConnections (
const NTV2RegReads & inROMRegisters,
307 static bool MakeRouteROMRegisters (
NTV2RegReads & outROMRegisters);
331 static NTV2InputXptID StringToNTV2InputCrosspointID (
const std::string & inStr);
339 static NTV2OutputXptID StringToNTV2OutputCrosspointID (
const std::string & inStr);
482 static bool IsSDIInputWidgetType (
const NTV2WidgetType inWidgetType);
488 static bool IsSDIOutputWidgetType (
const NTV2WidgetType inWidgetType);
494 static bool Is3GSDIWidgetType (
const NTV2WidgetType inWidgetType);
500 static bool Is12GSDIWidgetType (
const NTV2WidgetType inWidgetType);
506 static bool IsDualLinkWidgetType (
const NTV2WidgetType inWidgetType);
512 static bool IsDualLinkInWidgetType (
const NTV2WidgetType inWidgetType);
518 static bool IsDualLinkOutWidgetType (
const NTV2WidgetType inWidgetType);
530 static bool IsHDMIInWidgetType (
const NTV2WidgetType inWidgetType);
536 static bool IsHDMIOutWidgetType (
const NTV2WidgetType inWidgetType);
560 static bool CreateFromString (
const std::string & inString,
NTV2XptConnections & outConnections);
570 static bool CreateFromString (
const std::string & inString,
CNTV2SignalRouter & outRouter);
581 static bool ToCodeString (std::string & outCode,
const NTV2XptConnections & inConnections,
585 #if !defined (NTV2_DEPRECATE_12_5)
588 #endif // !defined (NTV2_DEPRECATE_12_5)
590 static bool IsInitialized(
void);
599 static bool Initialize(
void);
608 static bool Deinitialize(
void);
682 const bool inIsHDMI_RGB =
false,
const UWord inHDMI_Quadrant = 0);
766 #if !defined (NTV2_DEPRECATE_12_5)
915 #endif // !defined (NTV2_DEPRECATE_12_5)
917 #endif // NTV2SIGNALROUTER_H