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)
const;
86 getFileDevice (
const std::string& path);
PCL_EXPORTS std::ostream & operator<<(std::ostream &stream, const OpenNI2Device &device)
Defines functions, macros and traits for allocating and using memory.
std::shared_ptr< OpenNI2DeviceListener > device_listener_
shared_ptr< OpenNI2Device > Ptr
static shared_ptr< OpenNI2DeviceManager > getInstance()