| 200 | this->config = config; |
| 201 | } |
| 202 | void start() { |
| 203 | WriteMessage("Freenect2Driver::Device: start()"); |
| 204 | if (device_stop) { |
| 205 | device_used = true; |
| 206 | device_stop = false; |
| 207 | thread = new libfreenect2::thread(&DeviceImpl::static_run, this); |
| 208 | dev->start(); |
| 209 | } |
| 210 | } |
| 211 | void stop() { |
| 212 | WriteMessage("Freenect2Driver::Device: stop()"); |
| 213 | if (!device_stop) { |
nothing calls this directly
no outgoing calls
no test coverage detected