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

Function xnGetNodeErrorState

Source/OpenNI/XnOpenNI.cpp:3071–3082  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3069}
3070
3071XN_C_API XnStatus xnGetNodeErrorState(XnNodeHandle hInstance)
3072{
3073 XN_VALIDATE_INPUT_PTR(hInstance);
3074 if (!xnIsCapabilitySupported(hInstance, XN_CAPABILITY_ERROR_STATE))
3075 {
3076 return (XN_STATUS_OK);
3077 }
3078 else
3079 {
3080 return xnGetNodeErrorStateImpl(hInstance);
3081 }
3082}
3083
3084XN_C_API XnStatus xnRegisterToNodeErrorStateChange(XnNodeHandle hInstance, XnStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback)
3085{

Calls 2

xnIsCapabilitySupportedFunction · 0.85
xnGetNodeErrorStateImplFunction · 0.85

Tested by

no test coverage detected