| 145 | } |
| 146 | |
| 147 | void deallocStream() { |
| 148 | if (color != NULL) |
| 149 | { |
| 150 | delete color; |
| 151 | color = NULL; |
| 152 | } |
| 153 | if (depth != NULL) |
| 154 | { |
| 155 | delete depth; |
| 156 | depth = NULL; |
| 157 | } |
| 158 | if (ir != NULL) |
| 159 | { |
| 160 | delete ir; |
| 161 | ir = NULL; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | public: |
| 166 | DeviceImpl(int index) : //libfreenect2::Freenect2Device(fn_ctx, index), |
nothing calls this directly
no outgoing calls
no test coverage detected