OpenNI 2.0
Public 成员函数 | 友元 | 所有成员列表
openni::DeviceInfo类 参考

#include <OpenNI.h>

继承自 OniDeviceInfo .

Public 成员函数

const char * getName () const
 
const char * getUri () const
 
uint16_t getUsbProductId () const
 
uint16_t getUsbVendorId () const
 
const char * getVendor () const
 

友元

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.

成员函数说明

◆ getName()

const char* openni::DeviceInfo::getName ( ) const
inline

Returns the device name for this device.

◆ getUri()

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.

◆ getUsbProductId()

uint16_t openni::DeviceInfo::getUsbProductId ( ) const
inline

Returns the USB PID code for this device.

◆ getUsbVendorId()

uint16_t openni::DeviceInfo::getUsbVendorId ( ) const
inline

Returns the USB VID code for this device.

◆ getVendor()

const char* openni::DeviceInfo::getVendor ( ) const
inline

Returns a the vendor name for this device.

友元及相关函数文档

◆ Device

friend class Device
friend

◆ OpenNI

friend class OpenNI
friend

该类的文档由以下文件生成: