![]() |
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 |
typedef XnListT<TCallback*> XnEventInterfaceT< FuncPtr >::CallbackPtrList [protected] |
| typedef FuncPtr XnEventInterfaceT< FuncPtr >::HandlerPtr |
| typedef XnCallbackT<FuncPtr> XnEventInterfaceT< FuncPtr >::TCallback |
| typedef XnEventInterfaceT XnEventInterfaceT< FuncPtr >::TInterface |
| XnEventInterfaceT< FuncPtr >::~XnEventInterfaceT | ( | ) | [inline] |
| XnEventInterfaceT< FuncPtr >::XnEventInterfaceT | ( | ) | [inline, protected] |
| XnEventInterfaceT< FuncPtr >::XnEventInterfaceT | ( | const XnEventInterfaceT< FuncPtr > & | other | ) | [inline, protected] |
| XnStatus XnEventInterfaceT< FuncPtr >::ApplyListChanges | ( | ) | [inline, protected] |
| XnStatus XnEventInterfaceT< FuncPtr >::Clear | ( | ) | [inline, protected] |
| XnEventInterfaceT& XnEventInterfaceT< FuncPtr >::operator= | ( | const XnEventInterfaceT< FuncPtr > & | other | ) | [inline, protected] |
| XnStatus XnEventInterfaceT< FuncPtr >::Register | ( | FuncPtr | pFunc, |
| void * | pCookie, | ||
| XnCallbackHandle & | hCallback | ||
| ) | [inline] |
| XnBool XnEventInterfaceT< FuncPtr >::RemoveCallback | ( | CallbackPtrList & | list, |
| TCallback * | pCallback | ||
| ) | [inline, protected] |
| XnStatus XnEventInterfaceT< FuncPtr >::Unregister | ( | XnCallbackHandle | hCallback | ) | [inline] |
CallbackPtrList XnEventInterfaceT< FuncPtr >::m_callbacks [protected] |
XN_CRITICAL_SECTION_HANDLE XnEventInterfaceT< FuncPtr >::m_hLock [protected] |
CallbackPtrList XnEventInterfaceT< FuncPtr >::m_toAdd [protected] |
CallbackPtrList XnEventInterfaceT< FuncPtr >::m_toRemove [protected] |
1.7.6.1