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

Method HandleFrameSyncChange

Source/OpenNI/XnNodeWatcher.cpp:372–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372void XN_CALLBACK_TYPE GeneratorWatcher::HandleFrameSyncChange(ProductionNode& /*node*/, void* pCookie)
373{
374 GeneratorWatcher *pThis = (GeneratorWatcher*)pCookie;
375 if ((pThis == NULL) || !pThis->m_generator.IsCapabilitySupported(XN_CAPABILITY_FRAME_SYNC))
376 {
377 XN_ASSERT(FALSE);
378 return;
379 }
380
381 pThis->UpdateFrameSync();
382}
383
384XnStatus GeneratorWatcher::UpdateFrameSync()
385{

Callers

nothing calls this directly

Calls 2

UpdateFrameSyncMethod · 0.80
IsCapabilitySupportedMethod · 0.45

Tested by

no test coverage detected