MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / DEBUG_LOG_RECORD

Function DEBUG_LOG_RECORD

Source/Modules/nimRecorder/PlayerNode.cpp:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29#ifdef PLAYER_NODE_LOG_RECORDS
30 template <typename T>
31 inline static void DEBUG_LOG_RECORD(T record, const XnChar* strRecordName)
32 {
33 XnChar s[1024];
34 XnUInt32 nCharsWritten = 0;
35 XnStatus nRetVal = record.AsString(s, sizeof(s), nCharsWritten);
36 XN_ASSERT(nRetVal == XN_STATUS_OK);
37 xnLogVerbose(XN_MASK_OPEN_NI, "--PLAYER--> %s: %s", strRecordName, s);
38 }
39#else
40 #ifdef __WIN32
41 #define DEBUG_LOG_RECORD __noop

Calls 1

AsStringMethod · 0.80

Tested by

no test coverage detected