OpenNI 1.3.2
|
#include <XnCppWrapper.h>
Public Member Functions | |
NodeWrapper (XnNodeHandle hNode) | |
NodeWrapper (const NodeWrapper &other) | |
NodeWrapper & | operator= (const NodeWrapper &other) |
~NodeWrapper () | |
operator XnNodeHandle () const | |
XnNodeHandle | GetHandle () const |
XnBool | operator== (const NodeWrapper &other) |
XnBool | operator!= (const NodeWrapper &other) |
XnBool | IsValid () const |
const XnChar * | GetName () const |
XnStatus | AddRef () |
void | Release () |
XnStatus | Ref () |
void | Unref () |
void | SetHandle (XnNodeHandle hNode) |
void | TakeOwnership (XnNodeHandle hNode) |
Friends | |
class | Context |
Base class for all node wrappers
|
inline |
Ctor
hNode | [in] A node handle. |
|
inline |
|
inline |
|
inline |
References a production node, increasing its reference count by 1.
For full details and usage, see xnProductionNodeAddRef
|
inline |
Gets the underlying C handle.
|
inline |
Gets the instance name of a node by its handle.
For full details and usage, see xnGetNodeName()
|
inline |
TRUE if the object points to an actual node, FALSE otherwise.
|
inline |
|
inline |
Checks if two node wrappers point to different objects.
other | [in] Another object |
|
inline |
|
inline |
Checks if two node wrappers point to the same object.
other | [in] Another object |
|
inline |
|
inline |
Unreference a production node, decreasing its reference count by 1. If the reference count reaches zero, the node will be destroyed.
For full details and usage, see xnProductionNodeRelease
|
inline |
Replaces the object being pointed.
|
inline |
|
inline |
|
friend |