34 #include <pcl/make_shared.h>
35 #include <pcl/pcl_exports.h>
36 #include <pcl/io/openni2/openni2_device.h>
37 #include <pcl/io/openni2/openni2_device_info.h>
51 class OpenNI2DeviceListener;
63 static auto instance = pcl::make_shared<OpenNI2DeviceManager>();
67 std::shared_ptr<std::vector<OpenNI2DeviceInfo>>
68 getConnectedDeviceInfos ()
const;
70 std::shared_ptr<std::vector<std::string>>
71 getConnectedDeviceURIs ()
const;
74 getNumOfConnectedDevices ()
const;
80 getDevice (
const std::string& device_URI);
83 getDeviceByIndex (
int index);
86 getFileDevice (
const std::string& path);