MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / RegisterToErrorStateChange

Method RegisterToErrorStateChange

Include/XnCppWrapper.h:2507–2510  ·  view source on GitHub ↗

* @brief Registers an event handler for the 'Error State Change' event. * * @param [in] handler Callback function to be invoked when the event is raised. * @param [in] pCookie User's cookie, to be delivered to the callback. * @param [out] hCallback Handle to the callback. To be used for unregistering the callback. * * For full details and usage of the parameters, see @ref reg_t

Source from the content-addressed store, hash-verified

2505 * For full details and usage of the parameters, see @ref reg_to_events.
2506 */
2507 inline XnStatus RegisterToErrorStateChange(StateChangedHandler handler, void* pCookie, XnCallbackHandle& hCallback)
2508 {
2509 return _RegisterToStateChange(xnRegisterToNodeErrorStateChange, GetHandle(), handler, pCookie, hCallback);
2510 }
2511
2512 /**
2513 * @brief Unregisters the event handler for the 'Error State Change' event.

Callers 2

openCommonFunction · 0.80

Calls 2

_RegisterToStateChangeFunction · 0.85
GetHandleFunction · 0.85

Tested by

no test coverage detected