3ds Max C++ API Reference
|
Classes | |
struct | THREADNAME_INFO |
Functions | |
void | SetThreadName (DWORD dwThreadID, LPCSTR pcszThreadName) |
Sets the name of the given thread. More... | |
void | SetThreadName (LPCSTR pcszThreadName) |
Sets the name of the current thread. More... | |
void | SetThreadNameDebug (DWORD dwThreadID, LPCSTR pcszThreadName) |
Sets the name of the given thread. More... | |
void | SetThreadNameDebug (LPCSTR pcszThreadName) |
Sets the name of the current thread, but only if building for debug. More... | |
void | Trace (LPCMSTR lpctszMsg,...) |
Send a string to the debugger's output window, but only in debug builds. More... | |
void | Trace0 (LPCMSTR lpctszMsg) |
Identical to Trace(), but without the variable argument list. More... | |
|
inline |
Sets the name of the given thread.
The given name will appear in the thread view of the debugger, enabling easier debugging.
dwThreadID | The ID of the thread for which to set the name. |
pcszThreadName | The string to use as the name of the thread. |
|
inline |
Sets the name of the current thread.
The given name will appear in the thread view of the debugger, enabling easier debugging.
pcszThreadName | The string to use as the name of the thread. |
|
inline |
Sets the name of the given thread.
The given name will appear in the thread view of the debugger, enabling easier debugging. If the thread name shouldn't appear in release builds (e.g. because of security risks), then use this method instead of SetThreadName().
dwThreadID | The ID of the thread for which to set the name. |
pcszThreadName | The string to use as the name of the thread. |
|
inline |
Sets the name of the current thread, but only if building for debug.
The given name will appear in the thread view of the debugger, enabling easier debugging. If the thread name shouldn't appear in release builds (e.g. because of security risks), then use this method instead of SetThreadName().
pcszThreadName | The string to use as the name of the thread. |
Send a string to the debugger's output window, but only in debug builds.
More convenient than having to #ifndef NDEBUG all over the place. It also supports a variable number of arguments, as you can see.
lpctszMsg | The string to send to the debugger's output window. |
Identical to Trace(), but without the variable argument list.