We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6a7bdf commit 8924debCopy full SHA for 8924deb
examples/protonect/include/libfreenect2/libfreenect2.hpp
@@ -106,6 +106,11 @@ class LIBFREENECT2_API Freenect2
106
std::string getDeviceSerialNumber(int idx);
107
std::string getDefaultDeviceSerialNumber();
108
109
+ /* Important note:
110
+ * After passing a PacketPipeline object to libfreenect2 do not use or free the object,
111
+ * libfreenect2 will take care. If openDevice fails the PacketPipeline object will get
112
+ * deleted. A new PacketPipeline object has to be created each time a device is opened.
113
+ */
114
Freenect2Device *openDevice(int idx);
115
Freenect2Device *openDevice(int idx, const PacketPipeline *factory);
116
Freenect2Device *openDevice(const std::string &serial);
0 commit comments