#include <XnModuleInterface.h>
Public Member Functions | |
void (XN_CALLBACK_TYPE *UnregisterFromLockChange)(XnModuleNodeHandle hInstance | |
XnBool (XN_CALLBACK_TYPE *GetLockState)(XnModuleNodeHandle hInstance) | |
XnStatus (XN_CALLBACK_TYPE *SetLockState)(XnModuleNodeHandle hInstance | |
XnStatus (XN_CALLBACK_TYPE *RegisterToLockChange)(XnModuleNodeHandle hInstance | |
Public Attributes | |
XnBool | bLocked |
XnModuleStateChangedHandler | handler |
XnCallbackHandle | hCallback |
XnModuleStateChangedHandler void * | pCookie |
XnModuleStateChangedHandler void XnCallbackHandle * | phCallback |
Definition at line 177 of file XnModuleInterface.h.
XnModuleLockAwareInterface::void | ( | XN_CALLBACK_TYPE * | 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(). |
XnModuleLockAwareInterface::XnBool | ( | XN_CALLBACK_TYPE * | GetLockState | ) |
Gets current lock state.
hInstance | [in] A handle to the instance. |
XnModuleLockAwareInterface::XnStatus | ( | XN_CALLBACK_TYPE * | SetLockState | ) |
Notifies the node its lock state was changed.
hInstance | [in] A handle to the instance. |
bLocked | [in] Current lock state. |
XnModuleLockAwareInterface::XnStatus | ( | XN_CALLBACK_TYPE * | RegisterToLockChange | ) |
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(). |
Definition at line 185 of file XnModuleInterface.h.
Definition at line 203 of file XnModuleInterface.h.
Definition at line 213 of file XnModuleInterface.h.
Definition at line 203 of file XnModuleInterface.h.
Definition at line 203 of file XnModuleInterface.h.