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

Method StopGenerating

Samples/NiSampleModule/SampleDepth.cpp:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void 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
99XnStatus SampleDepth::RegisterToGenerationRunningChange( XnModuleStateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback )
100{

Callers 1

toggleStreamFunction · 0.45

Calls 2

xnOSWaitForThreadExitFunction · 0.50
RaiseMethod · 0.45

Tested by

no test coverage detected