#include <OpenNI.h>
Public Member Functions | |
const char * | getName () const |
const char * | getUri () const |
uint16_t | getUsbProductId () const |
uint16_t | getUsbVendorId () const |
const char * | getVendor () const |
Friends | |
class | Device |
class | OpenNI |
The DeviceInfo class encapsulates info related to a specific device.
Applications will generally obtain objects of this type via calls to OpenNI::enumerateDevices() or openni::Device::getDeviceInfo(), and then use the various accessor functions to obtain specific information on that device.
There should be no reason for application code to instantiate this object directly.
const char* openni::DeviceInfo::getName | ( | ) | const [inline] |
const char* openni::DeviceInfo::getUri | ( | ) | const [inline] |
Returns the device URI. URI can be used by Device::open to open a specific device. The URI string format is determined by the driver.
uint16_t openni::DeviceInfo::getUsbProductId | ( | ) | const [inline] |
uint16_t openni::DeviceInfo::getUsbVendorId | ( | ) | const [inline] |
const char* openni::DeviceInfo::getVendor | ( | ) | const [inline] |