#include
<fbxfilesdk/fbxfilesdk_def.h>#include
<fbxfilesdk/components/kbaselib/klib/ktime.h>#include <fbxfilesdk/fbxfilesdk_nsbegin.h>#include
<fbxfilesdk/fbxfilesdk_nsend.h>Go to the source code of this file.
Classes |
|
| struct | KDebugTimeEvent |
| struct | KFbxIncompatibleWithKArrayTemplate< T > |
Defines |
|
| #define | KAlwaysTrace KTraceFnc |
| To debug in both Debug and Release, all
calls to this function must be removed before shipping. |
|
| #define | KSTRINGITIZE(a) (a) |
| Add another indirection level, so that in
can work in conjunction with the __FILE__ usage. |
|
| #define | K_ASSERT(pCondition) ((void)0) |
| #define | K_ASSERT_MSG_NOW(pMessage) ((void)0) |
| #define | K_ASSERT_MSG(pCondition,pMessage) ((void)0) |
| #define | K_ASSERT_MSG_NOT_IMPLEMENTED ((void)0) |
| #define | K_STATIC_ASSERT(pCondition) |
| #define | KTrace KNoTraceFnc |
| #define | K_CHECKRTNV(condition, value) |
| Checks the condition, if it evaluates to
false asserts and returns value. |
|
| #define | K_CHECKRTN(condition) |
| Checks the condition, if it evaluates to
false asserts and returns. |
|
| #define | KFBX_INCOMPATIBLE_WITH_KARRAYTEMPLATE_TEMPLATE(T) |
| #define | KFBX_INCOMPATIBLE_WITH_KARRAYTEMPLATE(T) template<> KFBX_INCOMPATIBLE_WITH_KARRAYTEMPLATE_TEMPLATE(T) |
| #define | KFBX_IS_INCOMPATIBLE_WITH_KARRAYTEMPLATE(T) ((bool) KFbxIncompatibleWithKArrayTemplate<T>::value) |
|
Constants
|
|
| #define | K_NO_TRACE 0 |
| Tracing disabled, this level must not be
used with the KTrace function/. |
|
| #define | K_ASSERT_ONLY_TRACE 1 |
| Show only assert traces. |
|
| #define | K_NORMAL_TRACE 3 |
| Descriptive trace. |
|
| #define | K_ALL_TRACE 4 |
| Highly detailed level of trace. |
|
| #define | K_DEFAULT_TRACE 20 |
| Default value, K_TRACE_LEVEL environment
variable is used when level TraceLevel is set to that value Never
use this value as an argument to KTrace. |
|
Enumerations |
|
| enum | { KTRACE_SYNC = -1, KTRACE_START = -1, KTRACE_END = -2 } |
Functions |
|
| KFBX_DLL void | KRegisterAssertStubFct (int(*pFct)(const char *pFileName, const char *pFunctionName, kULong pLineNumber, const char *pMessage, bool pAbortEnabled)) |
| KFBX_DLL void * | KGetAssertStubFct () |
| KFBX_DLL void | KAssertFailed (const char *pFileName, const char *pFunctionName, kULong pLineNumber, const char *pMessage=NULL, bool *pHideForEver=NULL) |
| KFBX_DLL void | KAssertFailedWithLevel (const char *pFileName, const char *pFunctionName, kULong pLineNumber, kULong pLevel, const char *pMessage=NULL, bool *pHideForEver=NULL) |
| KFBX_DLL void | ShowLastError (char *pOperation) |
| KFBX_DLL void | KTraceFnc (char *pStr,...) |
| void | KNoTraceFnc (char *,...) |
| KFBX_DLL bool | KIsAssertDisplayed () |
| KFBX_DLL void | KTimerTrace_Start () |
| KFBX_DLL int | KTimerTrace_GetId (char *pName, bool pProfile=false) |
| KFBX_DLL int | KTimerTrace (int pId, KTime pTime, KTime pScheduledTime, int LastId, float R, float G, float B, char *pStr, bool pCopy=false) |
| KFBX_DLL int | KTimerPrintf (int pId, KTime pTime, KTime pScheduledTime, int LastId, float R, float G, float B, char *pStr,...) |
| KFBX_DLL void | KTimerTrace_Stop () |
| KFBX_DLL void | KTimerTrace_Release () |
| KFBX_DLL int | KTimerTrace_GetEventCount () |
| KFBX_DLL KDebugTimeEvent * | KTimerTrace_GetEvent (int pIndex) |
| KFBX_DLL int | KTimerTrace_GetIdCount () |
| KFBX_DLL char * | KTimerTrace_GetIdName (int pId) |
Definition in file kdebug.h.
| #define K_NO_TRACE 0 |
Tracing disabled, this level must not be used with the KTrace function/.
| #define K_ASSERT_ONLY_TRACE 1 |
| #define K_NORMAL_TRACE 3 |
| #define K_ALL_TRACE 4 |
| #define K_DEFAULT_TRACE 20 |
Default value, K_TRACE_LEVEL environment variable is used when level TraceLevel is set to that value Never use this value as an argument to KTrace.
| #define KAlwaysTrace KTraceFnc |
To debug in both Debug and Release, all calls to this function must be removed before shipping.
| #define KSTRINGITIZE | ( | a | ) | (a) |
Add another indirection level, so that in can work in conjunction with the __FILE__ usage.
| #define K_ASSERT | ( | pCondition | ) | ((void)0) |
| #define K_ASSERT_MSG_NOW | ( | pMessage | ) | ((void)0) |
| #define K_ASSERT_MSG | ( | pCondition, | |
| pMessage | |||
| ) | ((void)0) |
| #define K_ASSERT_MSG_NOT_IMPLEMENTED ((void)0) |
| #define K_STATIC_ASSERT | ( | pCondition | ) |
| #define KTrace KNoTraceFnc |
| #define K_CHECKRTNV | ( | condition, | |
| value | |||
| ) |
if( !(condition) ){ \ K_ASSERT_MSG_NOW( #condition ); \ return value; \ }
Checks the condition, if it evaluates to false asserts and returns value.
| #define K_CHECKRTN | ( | condition | ) |
if( !(condition) ){ \ K_ASSERT_MSG_NOW( #condition ); \ return; \ }
Checks the condition, if it evaluates to false asserts and returns.
| #define KFBX_INCOMPATIBLE_WITH_KARRAYTEMPLATE_TEMPLATE | ( | T | ) |
struct KFbxIncompatibleWithKArrayTemplate< T > { \ union { \ T t(); \ } catcherr; \ enum {value = 1}; \ }
| #define KFBX_INCOMPATIBLE_WITH_KARRAYTEMPLATE | ( | T | ) | template<> KFBX_INCOMPATIBLE_WITH_KARRAYTEMPLATE_TEMPLATE(T) |
| #define KFBX_IS_INCOMPATIBLE_WITH_KARRAYTEMPLATE | ( | T | ) | ((bool) KFbxIncompatibleWithKArrayTemplate<T>::value) |
| anonymous enum |
Definition at line 176 of file kdebug.h.
{ KTRACE_SYNC=-1,KTRACE_START=-1,KTRACE_END=-2 };
| KFBX_DLL void KRegisterAssertStubFct | ( | int(*)(const char *pFileName, const char *pFunctionName, kULong pLineNumber, const char *pMessage, bool pAbortEnabled) | pFct | ) |
| KFBX_DLL void* KGetAssertStubFct | ( | ) |
| KFBX_DLL void KAssertFailed | ( | const char * | pFileName, |
| const char * | pFunctionName, | ||
| kULong | pLineNumber, | ||
| const char * | pMessage = NULL, |
||
| bool * | pHideForEver =
NULL |
||
| ) |
| KFBX_DLL void ShowLastError | ( | char * | pOperation | ) |
| KFBX_DLL void KTraceFnc | ( | char * | pStr, |
| ... | |||
| ) |
| void KNoTraceFnc | ( | char * | , |
| ... | |||
| ) | [inline] |
| KFBX_DLL bool KIsAssertDisplayed | ( | ) |
| KFBX_DLL void KTimerTrace_Start | ( | ) |
| KFBX_DLL int KTimerTrace_GetId | ( | char * | pName, |
| bool | pProfile =
false |
||
| ) |
| KFBX_DLL void KTimerTrace_Stop | ( | ) |
| KFBX_DLL void KTimerTrace_Release | ( | ) |
| KFBX_DLL int KTimerTrace_GetEventCount | ( | ) |
| KFBX_DLL KDebugTimeEvent* KTimerTrace_GetEvent | ( | int | pIndex | ) |
| KFBX_DLL int KTimerTrace_GetIdCount | ( | ) |
| KFBX_DLL char* KTimerTrace_GetIdName | ( | int | pId | ) |