OpenNI 1.5.7
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
XnEvent Class Reference

#include <XnEvent.h>

Inheritance diagram for XnEvent:
Inheritance graph
[legend]

Public Member Functions

 XnEvent ()
 
virtual ~XnEvent ()
 
XnStatus Register (HandlerPtr pFunc, void *pCookie, XnCallbackHandle *pHandle)
 
XnStatus Unregister (XnCallbackHandle handle)
 
XnStatus Clear ()
 
- Public Member Functions inherited from XnEventInterface
 XnEventInterface ()
 
virtual ~XnEventInterface ()
 

Protected Member Functions

XnStatus ApplyListChanges ()
 

Protected Attributes

XN_CRITICAL_SECTION_HANDLE m_hLock
 
XnCallbackPtrList m_Handlers
 
XnCallbackPtrList m_ToBeAdded
 
XnCallbackPtrList m_ToBeRemoved
 

Additional Inherited Members

- Public Types inherited from XnEventInterface
typedef XnStatus(* HandlerPtr) (void *pCookie)
 

Constructor & Destructor Documentation

XnEvent::XnEvent ( )
inline
virtual XnEvent::~XnEvent ( )
inlinevirtual

Member Function Documentation

XnStatus XnEvent::ApplyListChanges ( )
inlineprotected
XnStatus XnEvent::Clear ( )
inline
XnStatus XnEvent::Register ( HandlerPtr  pFunc,
void *  pCookie,
XnCallbackHandle pHandle 
)
inlinevirtual

Implements XnEventInterface.

XnStatus XnEvent::Unregister ( XnCallbackHandle  handle)
inlinevirtual

Implements XnEventInterface.

Member Data Documentation

XnCallbackPtrList XnEvent::m_Handlers
protected
XN_CRITICAL_SECTION_HANDLE XnEvent::m_hLock
protected
XnCallbackPtrList XnEvent::m_ToBeAdded
protected
XnCallbackPtrList XnEvent::m_ToBeRemoved
protected

The documentation for this class was generated from the following file: