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

Function xnGetStatusName

Source/OpenNI/XnStatusRegister.cpp:128–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128XN_C_API const XnChar* xnGetStatusName(const XnStatus Status)
129{
130 XnErrorCodeData* pErrorData = xnGetErrorCodeData(Status);
131 if (pErrorData == NULL)
132 {
133 // unregistered error
134 return "Unknown Xiron Status!";
135 }
136 else
137 {
138 return pErrorData->csName;
139 }
140}
141
142XN_C_API void xnPrintError(const XnStatus Status, const XnChar* csUserMessage)
143{

Callers

nothing calls this directly

Calls 1

xnGetErrorCodeDataFunction · 0.85

Tested by

no test coverage detected