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

Method HandleMapOutputModeChange

Source/OpenNI/XnNodeWatcher.cpp:550–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548}
549
550void XN_CALLBACK_TYPE MapWatcher::HandleMapOutputModeChange(ProductionNode& /*node*/, void* pCookie)
551{
552 MapWatcher *pThis = (MapWatcher*)pCookie;
553 if (pThis == NULL)
554 {
555 XN_ASSERT(FALSE);
556 return;
557 }
558 XnStatus nRetVal = pThis->NotifyOutputMode();
559 if (nRetVal != XN_STATUS_OK)
560 {
561 xnLogWarning(XN_MASK_OPEN_NI, "Failed to notify output mode: %s", xnGetStatusString(nRetVal));
562 XN_ASSERT(FALSE);
563 }
564}
565
566void XN_CALLBACK_TYPE MapWatcher::HandleCroppingChange(ProductionNode& /*node*/, void* pCookie)
567{

Callers

nothing calls this directly

Calls 2

xnGetStatusStringFunction · 0.85
NotifyOutputModeMethod · 0.80

Tested by

no test coverage detected