gfxThread.h

Go to the documentation of this file.
00001 /*
00002  * gfxThread.h
00003  *
00004  *  Created on: Dec 20, 2011
00005  *      Author: sushil
00006  */
00007 
00008 #ifndef GFXTHREAD_H_
00009 #define GFXTHREAD_H_
00010 
00011 #include "GraphicsInteractionManager.h"
00012 
00013 namespace FastEcslent {
00014         class Engine;
00015 
00016         class GfxThread {
00017         private:
00018                 boost::thread gfx;
00019 
00020                 void runThread();
00021 
00022         public:
00023                 Engine* engine;
00024                 OgreGFX::GraphicsInteractionManager *gimPtr;
00025 
00026                 GfxThread(Engine* eng){
00027                         engine = eng;
00028                 }
00029 
00030                 void init();
00031                 void run();
00032                 void join();
00033                 void stop();
00034                 void kill();
00035 
00036 
00037         };
00038 
00039 }
00040 #endif /* GFXTHREAD_H_ */

Generated on Fri Dec 13 14:54:16 2013 for FastECSLent by  doxygen 1.5.4