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

Method execute

src/event_loop.cpp:92–103  ·  view source on GitHub ↗

Execute the job, until shut down. */

Source from the content-addressed store, hash-verified

90
91/** Execute the job, until shut down. */
92void EventLoop::execute()
93{
94 this_thread::set_name("USB");
95 timeval t;
96 t.tv_sec = 0;
97 t.tv_usec = 100000;
98
99 while(!shutdown_)
100 {
101 libusb_handle_events_timeout_completed(reinterpret_cast<libusb_context *>(usb_context_), &t, 0);
102 }
103}
104
105} /* namespace usb */
106} /* namespace libfreenect2 */

Callers 10

setColorAutoExposureMethod · 0.45
setColorSettingMethod · 0.45
getColorSettingMethod · 0.45
setLedStatusMethod · 0.45
startStreamsMethod · 0.45
stopMethod · 0.45
closeMethod · 0.45
static_executeMethod · 0.45

Calls 1

set_nameFunction · 0.85

Tested by

no test coverage detected