#include <XnCppWrapper.h>
Public Member Functions | |
const XnChar * | GetName () const |
XnBool | IsValid () const |
TRUE if the object points to an actual node, FALSE otherwise. | |
NodeWrapper (XnNodeHandle hNode) | |
operator XnNodeHandle () const | |
Gets the underlying C handle. | |
XnBool | operator!= (const NodeWrapper &other) |
XnBool | operator== (const NodeWrapper &other) |
virtual void | SetHandle (XnNodeHandle hNode) |
Replaces the object being pointed. | |
Protected Attributes | |
XnNodeHandle | m_hNode |
Friends | |
class | Context |
Base class for all node wrappers
Definition at line 952 of file XnCppWrapper.h.
xn::NodeWrapper::NodeWrapper | ( | XnNodeHandle | hNode | ) | [inline] |
const XnChar* xn::NodeWrapper::GetName | ( | ) | const [inline] |
Gets the instance name of a node by its handle.
For full details and usage, see xnGetNodeName()Definition at line 996 of file XnCppWrapper.h.
XnBool xn::NodeWrapper::IsValid | ( | ) | const [inline] |
TRUE if the object points to an actual node, FALSE otherwise.
Definition at line 991 of file XnCppWrapper.h.
xn::NodeWrapper::operator XnNodeHandle | ( | ) | const [inline] |
Gets the underlying C handle.
Definition at line 968 of file XnCppWrapper.h.
XnBool xn::NodeWrapper::operator!= | ( | const NodeWrapper & | other | ) | [inline] |
Checks if two node wrappers point to different objects.
other | [in] Another object |
Definition at line 985 of file XnCppWrapper.h.
XnBool xn::NodeWrapper::operator== | ( | const NodeWrapper & | other | ) | [inline] |
Checks if two node wrappers point to the same object.
other | [in] Another object |
Definition at line 975 of file XnCppWrapper.h.
virtual void xn::NodeWrapper::SetHandle | ( | XnNodeHandle | hNode | ) | [inline, virtual] |
Replaces the object being pointed.
Definition at line 999 of file XnCppWrapper.h.
friend class Context [friend] |
Definition at line 955 of file XnCppWrapper.h.
XnNodeHandle xn::NodeWrapper::m_hNode [protected] |
Definition at line 1002 of file XnCppWrapper.h.