Public Member Functions | Friends | List of all members
openni::DeviceInfo Class Reference

#include <OpenNI.h>

Inheritance diagram for openni::DeviceInfo:
Inheritance graph
[legend]

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
 

Additional Inherited Members

- Private Attributes inherited from OniDeviceInfo
char name [ONI_MAX_STR]
 
char uri [ONI_MAX_STR]
 
uint16_t usbProductId
 
uint16_t usbVendorId
 
char vendor [ONI_MAX_STR]
 

Detailed Description

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.

Definition at line 409 of file OpenNI.h.

Member Function Documentation

◆ getName()

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

Returns the device name for this device.

Definition at line 420 of file OpenNI.h.

◆ 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.

Definition at line 416 of file OpenNI.h.

◆ getUsbProductId()

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

Returns the USB PID code for this device.

Definition at line 424 of file OpenNI.h.

◆ getUsbVendorId()

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

Returns the USB VID code for this device.

Definition at line 422 of file OpenNI.h.

◆ getVendor()

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

Returns a the vendor name for this device.

Definition at line 418 of file OpenNI.h.

Friends And Related Function Documentation

◆ Device

friend class Device
friend

Definition at line 426 of file OpenNI.h.

◆ OpenNI

friend class OpenNI
friend

Definition at line 427 of file OpenNI.h.


The documentation for this class was generated from the following file:


ros_astra_camera
Author(s): Tim Liu
autogenerated on Wed Mar 2 2022 00:52:57