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;
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
OpenNI2Device::Ptr getAnyDevice()
std::shared_ptr< std::vector< std::string > > getConnectedDeviceURIs() const
OpenNI2Device::Ptr getDeviceByIndex(int index) const
virtual ~OpenNI2DeviceManager()
std::shared_ptr< OpenNI2DeviceListener > device_listener_
std::shared_ptr< std::vector< OpenNI2DeviceInfo > > getConnectedDeviceInfos() const
OpenNI2Device::Ptr getFileDevice(const std::string &path)
static shared_ptr< OpenNI2DeviceManager > getInstance()
Defines functions, macros and traits for allocating and using memory.
PCL_EXPORTS std::ostream & operator<<(std::ostream &stream, const OpenNI2Device &device)
shared_ptr< T > make_shared(Args &&... args)
Returns a pcl::shared_ptr compliant with type T's allocation policy.