NITE 1.5.1 - API Reference

XnVSessionListener Class Reference

#include <XnVSessionListener.h>

Inheritance diagram for XnVSessionListener:

List of all members.

Public Types

typedef void(XN_CALLBACK_TYPE * OnFocusStartDetectedCB )(const XnChar *strFocus, const XnPoint3D &ptPosition, XnFloat fProgress, void *UserCxt)
typedef void(XN_CALLBACK_TYPE * OnSessionStartCB )(const XnPoint3D &ptPosition, void *UserCxt)
typedef void(XN_CALLBACK_TYPE * OnSessionEndCB )(void *UserCxt)

Public Member Functions

virtual void OnSessionStart (const XnPoint3D &ptPosition)=0
virtual void OnSessionEnd ()=0
virtual void OnFocusStartDetected (const XnChar *strFocus, const XnPoint3D &ptPosition, XnFloat fProgress)=0

Detailed Description

A Session Listener will register to a Session Generator, which will call it when a Session event happens

Definition at line 17 of file XnVSessionListener.h.


Member Typedef Documentation

typedef void(XN_CALLBACK_TYPE * XnVSessionListener::OnFocusStartDetectedCB)(const XnChar *strFocus, const XnPoint3D &ptPosition, XnFloat fProgress, void *UserCxt)

Type for callbacks when a focus gesture has started to be recognized

Definition at line 23 of file XnVSessionListener.h.

typedef void(XN_CALLBACK_TYPE * XnVSessionListener::OnSessionEndCB)(void *UserCxt)

Type for callbacks when a session has ended

Definition at line 31 of file XnVSessionListener.h.

typedef void(XN_CALLBACK_TYPE * XnVSessionListener::OnSessionStartCB)(const XnPoint3D &ptPosition, void *UserCxt)

Type for callbacks when a session has started

Definition at line 27 of file XnVSessionListener.h.


Member Function Documentation

virtual void XnVSessionListener::OnFocusStartDetected ( const XnChar *  strFocus,
const XnPoint3D &  ptPosition,
XnFloat  fProgress 
) [pure virtual]

Implemented in XnVMultiProcessFlowServer.

virtual void XnVSessionListener::OnSessionEnd ( ) [pure virtual]

Implemented in XnVMultiProcessFlowServer.

virtual void XnVSessionListener::OnSessionStart ( const XnPoint3D &  ptPosition) [pure virtual]

Implemented in XnVMultiProcessFlowServer.


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