| 548 | } |
| 549 | |
| 550 | void 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 | |
| 566 | void XN_CALLBACK_TYPE MapWatcher::HandleCroppingChange(ProductionNode& /*node*/, void* pCookie) |
| 567 | { |
nothing calls this directly
no test coverage detected