| 87 | } |
| 88 | |
| 89 | void SampleDepth::StopGenerating() |
| 90 | { |
| 91 | m_bGenerating = FALSE; |
| 92 | |
| 93 | // wait for thread to exit |
| 94 | xnOSWaitForThreadExit(m_hScheduler, 100); |
| 95 | |
| 96 | m_generatingEvent.Raise(); |
| 97 | } |
| 98 | |
| 99 | XnStatus SampleDepth::RegisterToGenerationRunningChange( XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback ) |
| 100 | { |
no test coverage detected