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

Function xnGetStatusString

Source/OpenNI/XnStatusRegister.cpp:114–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114XN_C_API const XnChar* xnGetStatusString(const XnStatus Status)
115{
116 XnErrorCodeData* pErrorData = xnGetErrorCodeData(Status);
117 if (pErrorData == NULL)
118 {
119 // unregistered error
120 return "Unknown Xiron Status!";
121 }
122 else
123 {
124 return pErrorData->csMessage;
125 }
126}
127
128XN_C_API const XnChar* xnGetStatusName(const XnStatus Status)
129{

Callers 15

ActiveMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
RemoveNodeMethod · 0.85
PlaybackThreadMethod · 0.85
TriggerPlaybackMethod · 0.85
xnSchedulerAddTaskFunction · 0.85
xnSchedulerRemoveTaskFunction · 0.85
xnPrintErrorFunction · 0.85
xnSetGlobalErrorStateFunction · 0.85

Calls 1

xnGetErrorCodeDataFunction · 0.85

Tested by

no test coverage detected