xoreos
0.0.5
|
The game thread, running all game logic. More...
#include <gamethread.h>
Public Member Functions | |
GameThread () | |
~GameThread () | |
void | init (const Common::UString &baseDir, const std::list< const EngineProbe *> &probes) |
void | run () |
Public Member Functions inherited from Common::Thread | |
Thread () | |
virtual | ~Thread () |
bool | createThread (const UString &name="") |
bool | destroyThread () |
Private Member Functions | |
void | threadMethod () |
Private Attributes | |
Common::ScopedPtr< GameInstance > | _game |
Additional Inherited Members | |
Protected Attributes inherited from Common::Thread | |
boost::atomic< bool > | _killThread |
The game thread, running all game logic.
Definition at line 39 of file gamethread.h.
Engines::GameThread::GameThread | ( | ) |
Definition at line 43 of file gamethread.cpp.
Engines::GameThread::~GameThread | ( | ) |
Definition at line 46 of file gamethread.cpp.
References Common::Thread::destroyThread().
void Engines::GameThread::init | ( | const Common::UString & | baseDir, |
const std::list< const EngineProbe *> & | probes | ||
) |
Definition at line 50 of file gamethread.cpp.
References _game, ConfigMan, EngineMan, Version::getProjectName(), status(), and WindowMan.
Referenced by main().
void Engines::GameThread::run | ( | ) |
Definition at line 68 of file gamethread.cpp.
References _game, ConfigMan, Common::Thread::createThread(), EngineMan, and EventMan.
Referenced by main().
|
privatevirtual |
Implements Common::Thread.
Definition at line 83 of file gamethread.cpp.
References _game, EngineMan, EventMan, and Common::exceptionDispatcherError().
|
private |
Definition at line 49 of file gamethread.h.
Referenced by init(), run(), and threadMethod().