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>>
70 std::shared_ptr<std::vector<std::string>>
shared_ptr< OpenNI2Device > Ptr
OpenNI2Device::Ptr getDevice(const std::string &device_URI)
std::size_t getNumOfConnectedDevices() const
std::shared_ptr< std::vector< std::string > > getConnectedDeviceURIs() const
std::shared_ptr< std::vector< OpenNI2DeviceInfo > > getConnectedDeviceInfos() const
OpenNI2Device::Ptr getAnyDevice()
OpenNI2Device::Ptr getDeviceByIndex(int index) const
static shared_ptr< OpenNI2DeviceManager > getInstance()
virtual ~OpenNI2DeviceManager()
std::shared_ptr< OpenNI2DeviceListener > device_listener_
OpenNI2Device::Ptr getFileDevice(const std::string &path)
Defines functions, macros and traits for allocating and using memory.
PCL_EXPORTS std::ostream & operator<<(std::ostream &stream, const OpenNI2Device &device)