OpenNI 1.3.2
Public Member Functions | List of all members
xn::ErrorStateCapability Class Reference

#include <XnCppWrapper.h>

Inheritance diagram for xn::ErrorStateCapability:
Inheritance graph

Public Member Functions

 ErrorStateCapability (XnNodeHandle hNode)
 
 ErrorStateCapability (const NodeWrapper &node)
 
XnStatus GetErrorState () const
 
XnStatus RegisterToErrorStateChange (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)
 
void UnregisterFromErrorStateChange (XnCallbackHandle hCallback)
 
- Public Member Functions inherited from xn::Capability
 Capability (XnNodeHandle hNode)
 
 Capability (const NodeWrapper &node)
 
- Public Member Functions inherited from xn::NodeWrapper
 NodeWrapper (XnNodeHandle hNode)
 
 NodeWrapper (const NodeWrapper &other)
 
NodeWrapperoperator= (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)
 

Detailed Description

Allows access to Error State capability functions. see Error State Capability for additional details.

Constructor & Destructor Documentation

xn::ErrorStateCapability::ErrorStateCapability ( XnNodeHandle  hNode)
inline

Ctor

Parameters
hNode[in] Node handle
xn::ErrorStateCapability::ErrorStateCapability ( const NodeWrapper node)
inline

Member Function Documentation

XnStatus xn::ErrorStateCapability::GetErrorState ( ) const
inline

Gets current error state of this node.

For full details and usage, see xnGetNodeErrorState

XnStatus xn::ErrorStateCapability::RegisterToErrorStateChange ( StateChangedHandler  handler,
void *  pCookie,
XnCallbackHandle hCallback 
)
inline

Registers a callback function to error state changes.

For full details and usage, see xnRegisterToNodeErrorStateChange

void xn::ErrorStateCapability::UnregisterFromErrorStateChange ( XnCallbackHandle  hCallback)
inline

Unregisters a callback function which was registered using xnRegisterToNodeErrorStateChange().

For full details and usage, see xnUnregisterFromNodeErrorStateChange


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