![]() |
OpenNI 1.5.7
|
#include <XnEventT.h>
Public Types | |
typedef FuncPtr | HandlerPtr |
typedef XnCallbackT< FuncPtr > | TCallback |
typedef XnEventInterfaceT | TInterface |
Public Member Functions | |
~XnEventInterfaceT () | |
XnStatus | Register (FuncPtr pFunc, void *pCookie, XnCallbackHandle &hCallback) |
XnStatus | Unregister (XnCallbackHandle hCallback) |
Protected Types | |
typedef XnListT< TCallback * > | CallbackPtrList |
Protected Member Functions | |
XnEventInterfaceT () | |
XnEventInterfaceT (const XnEventInterfaceT &other) | |
XnEventInterfaceT & | operator= (const XnEventInterfaceT &other) |
XnStatus | Clear () |
XnStatus | ApplyListChanges () |
XnBool | RemoveCallback (CallbackPtrList &list, TCallback *pCallback) |
Protected Attributes | |
XN_CRITICAL_SECTION_HANDLE | m_hLock |
CallbackPtrList | m_callbacks |
CallbackPtrList | m_toAdd |
CallbackPtrList | m_toRemove |
A class that contains the interface of an event (i.e. Register and Unregister)
FuncPtr | The callback signature |
|
protected |
typedef FuncPtr XnEventInterfaceT< FuncPtr >::HandlerPtr |
typedef XnCallbackT<FuncPtr> XnEventInterfaceT< FuncPtr >::TCallback |
typedef XnEventInterfaceT XnEventInterfaceT< FuncPtr >::TInterface |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inlineprotected |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |