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

Method getStream

src/openni2/DeviceDriver.cpp:68–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 }
67
68 VideoStream* getStream(libfreenect2::Frame::Type type)
69 {
70 if (type == libfreenect2::Frame::Depth)
71 return depth;
72 if (type == libfreenect2::Frame::Ir)
73 return ir;
74 if (type == libfreenect2::Frame::Color)
75 return color;
76 return NULL;
77 }
78
79 void run()
80 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected