00001 /******************************************************************************* 00002 * * 00003 * PrimeSense NITE 1.3 * 00004 * Copyright (C) 2010 PrimeSense Ltd. * 00005 * * 00006 *******************************************************************************/ 00007 00008 00009 #ifndef _XNV_DEVICE_CONTROL_H_ 00010 #define _XNV_DEVICE_CONTROL_H_ 00011 00012 #include <XnCppWrapper.h> 00013 #include "XnVMessageListener.h" 00014 00019 class XNV_NITE_API XnVContextControl : 00020 public XnVMessageListener 00021 { 00022 public: 00028 XnVContextControl(const XnChar* strName = "XnVContextControl"); 00029 virtual ~XnVContextControl(); 00030 00034 void Update(XnVMessage* pMessage); 00038 virtual void Update(const xn::Context* pContext) = 0; 00039 }; 00040 00041 00042 #endif // _XNV_DEVICE_CONTROL_H_