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

Function xnLogGetFileName

Source/OpenNI/XnLog.cpp:755–764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

753}
754
755XN_C_API XnStatus XN_C_DECL xnLogGetFileName(XnChar* strFileName, XnUInt32 nBufferSize)
756{
757 LogData& logData = LogData::GetInstance();
758 if (!logData.fileWriter.IsRegistered())
759 {
760 return XN_STATUS_INVALID_OPERATION;
761 }
762
763 return xnOSStrCopy(strFileName, logData.fileWriter.GetFileName(), nBufferSize);
764}
765
766XnLogger* xnLogGetLoggerForMask(const XnChar* csLogMask, XnBool bCreate)
767{

Callers

nothing calls this directly

Calls 3

GetFileNameMethod · 0.80
xnOSStrCopyFunction · 0.50
IsRegisteredMethod · 0.45

Tested by

no test coverage detected