![]() |
VR-Link API Documentation for HLA Evolved
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00014 #pragma once 00015 00016 #include "vlPrint.h" 00017 #ifdef DtUSE_UTILITIES_NAMESPACE 00018 namespace DtUSE_UTILITIES_NAMESPACE 00019 { 00020 #endif 00021 00023 extern DT_DLL_VLUTIL bool DtNetDebugOn; 00024 00026 extern DT_DLL_VLUTIL bool DtSmoothDebugOn; 00027 00029 extern DT_DLL_VLUTIL bool DtSmoothZDebugOn; 00030 00032 extern DT_DLL_VLUTIL bool DtLogUtilDebugOn; 00033 00035 extern DT_DLL_VLUTIL bool DtOutboundThresholdDebugOn; 00036 00038 extern DT_DLL_VLUTIL bool DtLispDebugOn; 00039 00041 extern DT_DLL_VLUTIL bool DtTmpDebugOn; 00042 00043 #ifdef DtUSE_UTILITIES_NAMESPACE 00044 } 00045 #endif 00046 00057 00058 #define DtDEBUG(flag, s) \ 00059 ((flag) ? DtInfo s : ((void)0)) 00060 00061 #define DtNetDebug(s) DtDEBUG(DtNetDebugOn, s) 00062 #define DtNetDebug1(s) DtNetDebug((s)) 00063 #define DtOutDebug(s) DtDEBUG(DtOutboundThresholdDebugOn, s) 00064 #define DtLogDebug(s) DtDEBUG(DtLogUtilDebugOn, s) 00065 #define DtTmpDebug(s) DtDEBUG(DtTmpDebugOn, s) 00066 #define DtSmoothDebug(s) DtDEBUG(DtSmoothDebugOn, s) 00067 #define DtSmoothZDebug(s) DtDEBUG(DtSmoothZDebugOn, s) 00068 #define DtLispDebug(s) DtDEBUG(DtLispDebugOn, s) 00069 00070 00071