![]() |
OpenNI 1.5.7
|
Typedefs | |
typedef void(* | xn::StateChangedHandler) (ProductionNode &node, void *pCookie) |
typedef void(* xn::StateChangedHandler) (ProductionNode &node, void *pCookie) |
Type definition to define event handlers for the 'State Change' event.
[in] | node | Node issuing the event. |
[in] | pCookie | User cookie passed on registration. |
Remarks
The 'State Change' event can be invoked by a number of OpenNI objects. For example, this event is invoked by the ErrorStateCapability object whenever a node's error state changes. As another example, this event is also invoked by the MirrorCapability object whenever a node's mirror configuration has been changed.
Example:
The following is an example of a callback method that follows that signature: