| 164 | |
| 165 | public: |
| 166 | DeviceImpl(int index) : //libfreenect2::Freenect2Device(fn_ctx, index), |
| 167 | dev(NULL), |
| 168 | color(NULL), |
| 169 | depth(NULL), |
| 170 | ir(NULL), |
| 171 | reg(NULL), |
| 172 | device_stop(true), |
| 173 | device_used(false), |
| 174 | listener(libfreenect2::Frame::Depth | libfreenect2::Frame::Ir | libfreenect2::Frame::Color), |
| 175 | thread(NULL) |
| 176 | { |
| 177 | } |
| 178 | ~DeviceImpl() |
| 179 | { |
| 180 | destroyStream(color); |
nothing calls this directly
no outgoing calls
no test coverage detected