![]() |
OpenNI 1.5.4
|
#include <XnCppWrapper.h>
Public Member Functions | |
DeviceIdentificationCapability (XnNodeHandle hNode) | |
DeviceIdentificationCapability (const NodeWrapper &node) | |
XnStatus | GetDeviceName (XnChar *strBuffer, XnUInt32 nBufferSize) |
XnStatus | GetVendorSpecificData (XnChar *strBuffer, XnUInt32 nBufferSize) |
XnStatus | GetSerialNumber (XnChar *strBuffer, XnUInt32 nBufferSize) |
Purpose: The DeviceIdentificationCapability object allows an application to receive some device-specific information about a hardware device, like its serial number and its model name.
Usage: Do not instantiate directly. Instead, use Device::GetIdentificationCap() to obtain an instance.
Ctor
[in] | hNode | Node handle |
xn::DeviceIdentificationCapability::DeviceIdentificationCapability | ( | const NodeWrapper & | node | ) | [inline] |
XnStatus xn::DeviceIdentificationCapability::GetDeviceName | ( | XnChar * | strBuffer, |
XnUInt32 | nBufferSize | ||
) | [inline] |
Gets the name of the device holding this capability object.
[in] | strBuffer | Buffer to accept the device information. |
[in,out] | nBufferSize | Size of the buffer. |
XN_STATUS_OK | Operation succeeded. |
XN_STATUS_OUTPUT_BUFFER_OVERFLOW | The size of the buffer is not sufficient. |
XnStatus xn::DeviceIdentificationCapability::GetSerialNumber | ( | XnChar * | strBuffer, |
XnUInt32 | nBufferSize | ||
) | [inline] |
Gets the vendor-specific name of the device holding this capability object.
[in] | strBuffer | Buffer to accept the serial number |
[in,out] | nBufferSize | Size of the buffer. |
XN_STATUS_OK | Operation succeeded. |
XN_STATUS_OUTPUT_BUFFER_OVERFLOW | The size of the buffer is not sufficient. |
XnStatus xn::DeviceIdentificationCapability::GetVendorSpecificData | ( | XnChar * | strBuffer, |
XnUInt32 | nBufferSize | ||
) | [inline] |
Gets the vendor-specific name of the device holding this capability object.
[in] | strBuffer | Buffer to accept the device information. |
[in,out] | nBufferSize | Size of the buffer. |
XN_STATUS_OK | Operation succeeded. |
XN_STATUS_OUTPUT_BUFFER_OVERFLOW | The size of the buffer is not sufficient. |