32 #ifndef OPENNI2_DEVICE_MANAGER_H_ 33 #define OPENNI2_DEVICE_MANAGER_H_ 37 #include <boost/thread/mutex.hpp> 46 class OpenNI2DeviceListener;
64 std::string
getSerial(
const std::string& device_URI)
const;
boost::shared_ptr< OpenNI2DeviceListener > device_listener_
std::ostream & operator<<(std::ostream &stream, const OpenNI2Device &device)
virtual ~OpenNI2DeviceManager()
boost::shared_ptr< OpenNI2Device > getAnyDevice()
static boost::shared_ptr< OpenNI2DeviceManager > getSingelton()
boost::shared_ptr< std::vector< std::string > > getConnectedDeviceURIs() const
boost::shared_ptr< OpenNI2Device > getDevice(const std::string &device_URI)
std::size_t getNumOfConnectedDevices() const
std::string getSerial(const std::string &device_URI) const
boost::shared_ptr< std::vector< OpenNI2DeviceInfo > > getConnectedDeviceInfos() const
static boost::shared_ptr< OpenNI2DeviceManager > singelton_