![]() |
OpenNI 1.5.7
|
#include <XnModuleInterface.h>
Public Attributes | |
| XnStatus(* | SetLockState )(XnModuleNodeHandle hInstance, XnBool bLocked) |
| XnBool(* | GetLockState )(XnModuleNodeHandle hInstance) |
| XnModuleNodeHandle | hInstance |
| XnModuleNodeHandle XnModuleStateChangedHandler | handler |
| XnModuleNodeHandle XnModuleStateChangedHandler void * | pCookie |
| XnModuleNodeHandle XnModuleStateChangedHandler void XnCallbackHandle * | phCallback |
| XnModuleNodeHandle XnCallbackHandle | hCallback |
| XnBool(* XnModuleLockAwareInterface::GetLockState)(XnModuleNodeHandle hInstance) |
Gets current lock state.
| hInstance | [in] A handle to the instance. |
| XnModuleNodeHandle XnModuleStateChangedHandler XnModuleLockAwareInterface::handler |
| XnModuleNodeHandle XnCallbackHandle XnModuleLockAwareInterface::hCallback |
| XnModuleNodeHandle XnModuleLockAwareInterface::hInstance |
Registers a callback function to lock changes.
| hInstance | [in] A handle to the instance. |
| handler | [in] A pointer to a function that will be called when lock changes. |
| pCookie | [in] A user cookie that will be passed to the callback function. |
| phCallback | [out] Optional. Will be filled with a handle to be passed to UnregisterFromLockChange(). |
Unregisters a callback function which was registered using RegisterToLockChange().
| hInstance | [in] A handle to the instance. |
| hCallback | [in] The handle to the callback returned from RegisterToLockChange(). |
| XnModuleNodeHandle XnModuleStateChangedHandler void* XnModuleLockAwareInterface::pCookie |
| XnModuleNodeHandle XnModuleStateChangedHandler void XnCallbackHandle* XnModuleLockAwareInterface::phCallback |
| XnStatus(* XnModuleLockAwareInterface::SetLockState)(XnModuleNodeHandle hInstance, XnBool bLocked) |
Notifies the node its lock state was changed.
| hInstance | [in] A handle to the instance. |
| bLocked | [in] Current lock state. |
1.8.5