#include <XnCppWrapper.h>
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) |
Allows access to Error State capability functions. see Error State Capability for additional details.
xn::ErrorStateCapability::ErrorStateCapability | ( | XnNodeHandle | hNode | ) | [inline] |
Ctor
hNode | [in] Node handle |
xn::ErrorStateCapability::ErrorStateCapability | ( | const NodeWrapper & | node | ) | [inline] |
XnStatus xn::ErrorStateCapability::GetErrorState | ( | ) | const [inline] |
Gets current error state of this node.
For full details and usage, see xnGetNodeErrorStateXnStatus xn::ErrorStateCapability::RegisterToErrorStateChange | ( | StateChangedHandler | handler, | |
void * | pCookie, | |||
XnCallbackHandle & | hCallback | |||
) | [inline] |
Registers a callback function to error state changes.
For full details and usage, see xnRegisterToNodeErrorStateChangevoid xn::ErrorStateCapability::UnregisterFromErrorStateChange | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregisters a callback function which was registered using xnRegisterToNodeErrorStateChange().
For full details and usage, see xnUnregisterFromNodeErrorStateChange