Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

algorithmImport.h

Go to the documentation of this file.
00001 #ifndef algorithmImport_h
00002 #define algorithmImport_h
00003 
00004 #include "Event/algorithmCommand.h"
00005 
00006 //###############################################
00007 template<class T> class algorithmImport : public algorithmCommand
00008 //###############################################
00009 {
00010         typedef void (T::* ptr_mem) ();
00011 
00012 public:
00013         
00015         algorithmImport(T* t, ptr_mem run):m_t(t),m_run(run) {}
00017         ~algorithmImport() {}
00018 
00020         virtual void execute() {(m_t->* m_run)();}
00021 
00022 private:
00023 
00025         T* m_t;
00027         ptr_mem m_run;
00028 };
00029 #endif

Generated at Thu Jun 22 16:53:24 2000 for Centella Framework by doxygen 1.1.3 written by Dimitri van Heesch, © 1997-2000