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

Method removeDevice

src/libfreenect2.cpp:605–617  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603 }
604
605 void removeDevice(Freenect2ReplayDevice *device)
606 {
607 DeviceVector::iterator it = std::find(devices_.begin(), devices_.end(), device);
608
609 if(it != devices_.end())
610 {
611 devices_.erase(it);
612 }
613 else
614 {
615 LOG_WARNING << "tried to remove a REPLAY device, which is not in the internal device list!";
616 }
617 }
618
619 void clearDevices()
620 {

Callers

nothing calls this directly

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected