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

Method allocStream

src/openni2/DeviceDriver.cpp:132–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 }
131
132 void allocStream() {
133 if (! color) {
134 color = new ColorStream(this, dev, reg);
135 setStreamProperties(color, "color");
136 }
137 if (! depth) {
138 depth = new DepthStream(this, dev, reg);
139 setStreamProperties(depth, "depth");
140 }
141 if (! ir) {
142 ir = new IrStream(this, dev, reg);
143 setStreamProperties(ir, "ir");
144 }
145 }
146
147 void deallocStream() {
148 if (color != NULL)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected