AJA NTV2 SDK  17.5.0.1242
NTV2 SDK 17.5.0.1242
debug.h File Reference

Declares the AJADebug class. More...

#include <stdio.h>
#include <sstream>
#include <set>
#include "ajabase/common/public.h"
#include "ajabase/system/debugshare.h"
Include dependency graph for debug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AJADebug
 

Macros

#define AJA_ASSERT(_expression_)
 
#define AJA_PRINT(_format_, ...)
 
#define AJA_REPORT(_index_, _severity_, _format_, ...)
 
#define AJA_sASSERT(_expr_)
 
#define AJA_sREPORT(_index_, _severity_, _expr_)
 
#define AJA_sEMERGENCY(_index_, _expr_)
 
#define AJA_sALERT(_index_, _expr_)
 
#define AJA_sERROR(_index_, _expr_)
 
#define AJA_sWARNING(_index_, _expr_)
 
#define AJA_sNOTICE(_index_, _expr_)
 
#define AJA_sINFO(_index_, _expr_)
 
#define AJA_sDEBUG(_index_, _expr_)
 

Functions

AJA_EXPORT std::string AJAStatusToString (const AJAStatus inStatus, const bool inDetailed=false)
 
std::ostream & operator<< (std::ostream &oss, const AJADebugStat &inStat)
 

Detailed Description

Declares the AJADebug class.

Definition in file debug.h.

Function Documentation

◆ AJAStatusToString()

AJA_EXPORT std::string AJAStatusToString ( const AJAStatus  inStatus,
const bool  inDetailed = false 
)
Parameters
[in]inStatusThe AJAStatus value of interest.
[in]inDetailedOptionally specifies the type of string content to return. If false, the default, returns the literal enum (e.g. "AJA_STATUS_FAIL"). If true, returns a description (e.g. "Failed").
Returns
A string that contains the given AJAStatus value as human-readable text.

Definition at line 981 of file debug.cpp.

◆ operator<<()

std::ostream& operator<< ( std::ostream &  oss,
const AJADebugStat inStat 
)

Definition at line 1497 of file debug.cpp.