![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtSubjectBinder.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtSubjectBinder_H_ 00014 #define DtSubjectBinder_H_ 00015 00016 #include <vrvCore/vrvCore.h> 00017 #include <boost/function.hpp> 00018 #include <list> 00019 00020 namespace makVrv 00021 { 00022 class DtDe; 00023 00032 class DT_DLL_VRVCORE DtSubjectBinder 00033 { 00034 00035 public: 00036 00039 00040 void bind(DtDe& de); 00041 00042 protected: 00043 00044 typedef boost::function<void (DtDe&)> BindFunction; 00045 typedef std::list<BindFunction> BindFunctionList; 00046 00047 BindFunctionList myBindFunctionList; 00048 }; 00049 00050 } 00051 00052 #endif 00053