Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef _XNV_SESSION_LISTENER_H_
00010 #define _XNV_SESSION_LISTENER_H_
00011
00012 #include "XnVNiteDefs.h"
00013 #include "XnVNiteEvents.h"
00014
00018 class XNV_NITE_API XnVSessionListener
00019 {
00020 public:
00024 typedef void (XN_CALLBACK_TYPE *OnFocusStartDetectedCB)(const XnChar* strFocus, const XnPoint3D& ptPosition, XnFloat fProgress, void* UserCxt);
00028 typedef void (XN_CALLBACK_TYPE *OnSessionStartCB)(const XnPoint3D& ptPosition, void* UserCxt);
00032 typedef void (XN_CALLBACK_TYPE *OnSessionEndCB)(void* UserCxt);
00033
00034 virtual void OnSessionStart(const XnPoint3D& ptPosition) = 0;
00035 virtual void OnSessionEnd() = 0;
00036 virtual void OnFocusStartDetected(const XnChar* strFocus, const XnPoint3D& ptPosition, XnFloat fProgress) = 0;
00037 };
00038
00039
00040 #endif // _XNV_SESSION_LISTENER_H_