C:/Users/Mike/Documents/Visual Studio Projects/GameEngine/include/ProcessManager.h

Go to the documentation of this file.
00001 #ifndef PROCESSMANAGER_H
00002 #define PROCESSMANAGER_H
00003 
00004 #include "GameEnginePrerequisites.h"
00005 #include "Process.h"
00006 
00007 namespace GameEngine {
00008 
00009         typedef std::list< boost::shared_ptr<Process> > ProcessList;
00010 
00013         class ENGINE_DECL ProcessManager {
00014 
00015         public:
00018                 ProcessManager() {}
00019 
00022                 ~ProcessManager() {}
00023                 
00024                 
00025                 
00030                 void attach( boost::shared_ptr<Process> process );
00031 
00036                 void updateProcesses(const double& dt);
00037 
00038                 
00043                 bool hasProcesses() const;
00044                 
00047                 void deleteProcessList();
00048 
00049         private:
00050                 ProcessList mProcessList;
00051                 
00057                 void detach( boost::shared_ptr<Process> process );
00058 
00059         };
00060 
00061 }
00062 
00063 #endif

Generated on Thu Apr 19 09:47:02 2007 for GameEngine by  doxygen 1.5.2