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

Function closeSample

Samples/NiViewer/NiViewer.cpp:208–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void closeSample(int errCode)
209{
210 captureStop(0);
211 closeDevice();
212
213 if (errCode != ERR_OK)
214 {
215 printf("Press any key to continue . . .\n");
216 _getch();
217 }
218
219 exit(errCode);
220}
221
222void togglePause(int)
223{

Callers 1

mainFunction · 0.85

Calls 2

captureStopFunction · 0.85
closeDeviceFunction · 0.85

Tested by

no test coverage detected