NITE 1.5.1 - API Reference

XnVFlowRouter.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002 *                                                                              *
00003 *   PrimeSense NITE 1.3                                                        *
00004 *   Copyright (C) 2010 PrimeSense Ltd.                                         *
00005 *                                                                              *
00006 *******************************************************************************/
00007 
00008 
00009 #ifndef _XNV_FLOW_ROUTER_H_
00010 #define _XNV_FLOW_ROUTER_H_
00011 
00012 #include "XnVMessageListener.h"
00013 
00014 class XnStringsHash;
00015 
00022 class XNV_NITE_API XnVFlowRouter :
00023     public XnVMessageListener
00024 {
00025 public:
00031     XnVFlowRouter(const XnChar* strName = "XnVFlowRouter");
00032     virtual ~XnVFlowRouter();
00033 
00041     XnStatus SetActive(XnVMessageListener* pActive);
00047     XnVMessageListener* GetActive() const;
00048 
00054     void Update(XnVMessage* pMessage);
00055 
00059     void ClearQueue();
00060 protected:
00061     virtual void CloseOldSession();
00062     virtual void OpenNewSession();
00063     XnVMessageListener* m_pActive;
00064 
00065     XnStringsHash* m_pProperties; // for last points
00066 };
00067 
00068 #endif