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

Method getNumDevices

src/libfreenect2.cpp:573–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571 }
572
573 int getNumDevices()
574 {
575 if (!initialized)
576 return 0;
577
578 if(!has_device_enumeration_)
579 {
580 enumerateDevices();
581 }
582 return enumerated_devices_.size();
583 }
584
585 Freenect2Device *openDevice(int idx, const PacketPipeline *factory, bool attempting_reset);
586};

Callers 3

enumerateDevicesMethod · 0.80
getDeviceSerialNumberMethod · 0.80
openDeviceMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected