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

Method DeviceImpl

src/openni2/DeviceDriver.cpp:166–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected