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 
00007 
00018 //###############################################
00019 template<class T> class algorithmImport : public algorithmCommand
00020 //###############################################
00021 {
00022         typedef void (T::* ptr_mem) ();
00023 
00024 public:
00025         
00027         algorithmImport(T* t, ptr_mem run):m_t(t),m_run(run) {}
00029         virtual ~algorithmImport() {}
00030 
00032         virtual void execute() {(m_t->* m_run)();}
00033 
00034 private:
00035 
00037         T* m_t;
00039         ptr_mem m_run;
00040 };
00041 #endif

Generated at Fri Aug 18 12:57:37 2000 for centella framework by doxygen 1.1.3 written by Dimitri van Heesch, © 1997-2000