* @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
| 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. |
no test coverage detected