39 #include <pcl/pcl_config.h>
43 #include "openni_exception.h"
44 #include "openni_device.h"
86 unsigned updateDeviceList ();
92 inline unsigned getNumberDevices ()
const throw ();
102 OpenNIDevice::Ptr createVirtualDevice (
const std::string& path,
bool repeat,
bool stream)
const;
118 OpenNIDevice::Ptr getDeviceBySerialNumber (
const std::string& serial_number)
const;
128 OpenNIDevice::Ptr getDeviceByAddress (
unsigned char bus,
unsigned char address)
const;
137 const char* getSerialNumber (
unsigned index)
const throw ();
145 const char* getConnectionString (
unsigned index)
const throw ();
153 const char* getVendorName (
unsigned index)
const throw ();
161 const char* getProductName (
unsigned index)
const throw ();
169 unsigned short getVendorID (
unsigned index)
const throw ();
177 unsigned short getProductID (
unsigned index)
const throw ();
185 unsigned char getBus (
unsigned index)
const throw ();
193 unsigned char getAddress (
unsigned index)
const throw ();
209 getDeviceType (
const std::string& connection_string,
unsigned short& vendorId,
unsigned short& productId);
214 DeviceContext (
const xn::NodeInfo& device_node, xn::NodeInfo* image_node, xn::NodeInfo* depth_node, xn::NodeInfo * ir_node);
229 void getDeviceInfos () noexcept;
235 std::map< unsigned char, std::map<unsigned char, unsigned > >
bus_map_;