#include <XnVSessionListener.h>
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 |
A Session Listener will register to a Session Generator, which will call it when a Session event happens
Definition at line 18 of file XnVSessionListener.h.
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 24 of file XnVSessionListener.h.
typedef void(XN_CALLBACK_TYPE * XnVSessionListener::OnSessionEndCB)(void *UserCxt) |
Type for callbacks when a session has ended
Definition at line 32 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 28 of file XnVSessionListener.h.
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.