OpenNI 1.5.4: xn::Device Class Reference

OpenNI

#include <XnCppWrapper.h>

Inheritance diagram for xn::Device:

List of all members.

Public Member Functions

 Device (XnNodeHandle hNode=NULL)
 Device (const NodeWrapper &other)
XnStatus Create (Context &context, Query *pQuery=NULL, EnumerationErrors *pErrors=NULL)
DeviceIdentificationCapability GetIdentificationCap ()

Detailed Description

Purpose: A smart pointer to a device node in the production graph of a context.

The device node represents a physical hardware device currently connected in the system and used for generating data. The Device node represents the hardware device by providing, for example, the device's model name, serial number, and some vendor-specific data. The Device node itself does not generate data.

Capabilities: DeviceIdentificationCapability


Constructor & Destructor Documentation

xn::Device::Device ( XnNodeHandle  hNode = NULL) [inline]
xn::Device::Device ( const NodeWrapper other) [inline]

Member Function Documentation

XnStatus xn::Device::Create ( Context context,
Query pQuery = NULL,
EnumerationErrors pErrors = NULL 
) [inline]

Creates a Device node from available production node alternatives.

Remarks

See Concepts: the Create() Method for a detailed description of the operation of this method.

DeviceIdentificationCapability xn::Device::GetIdentificationCap ( ) [inline]

Gets a DeviceIdentificationCapability object for accessing device identification functionality.

Remarks

If this node supports this method then the node can identify which device is being used right now, for example, its name, serial number, and specific vendors can place specific data.

It is the application's responsibility to check first if XN_CAPABILITY_DEVICE_IDENTIFICATION is supported by calling IsCapabilitySupported().


The documentation for this class was generated from the following file:
Generated on Wed May 16 2012 10:16:07 for OpenNI 1.5.4 by   doxygen 1.7.5.1