MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / stop

Method stop

src/openni2/DeviceDriver.cpp:211–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209 }
210 }
211 void stop() {
212 WriteMessage("Freenect2Driver::Device: stop()");
213 if (!device_stop) {
214 device_stop = true;
215 thread->join();
216 dev->stop();
217 }
218 }
219 void close() {
220 WriteMessage("Freenect2Driver::Device: close()");
221 if (this->dev && device_used) {

Callers 1

deviceCloseMethod · 0.45

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected