OpenMW
|
Worker thread item: preload models in a cell. More...
Public Member Functions | |
PreloadItem (MWWorld::CellStore *cell, Resource::SceneManager *sceneManager, Resource::BulletShapeManager *bulletShapeManager, Resource::KeyframeManager *keyframeManager, Terrain::World *terrain, bool preloadInstances) | |
Constructor to be called from the main thread. More... | |
virtual void | doWork () |
Preload work to be called from the worker thread. More... | |
Public Member Functions inherited from SceneUtil::WorkItem | |
WorkItem () | |
virtual | ~WorkItem () |
bool | isDone () const |
void | waitTillDone () |
Wait until the work is completed. Usually called from the main thread. More... | |
void | signalDone () |
Internal use by the WorkQueue. More... | |
Private Types | |
typedef std::vector< std::string > | MeshList |
Private Attributes | |
bool | mIsExterior |
int | mX |
int | mY |
MeshList | mMeshes |
Resource::SceneManager * | mSceneManager |
Resource::BulletShapeManager * | mBulletShapeManager |
Resource::KeyframeManager * | mKeyframeManager |
Terrain::World * | mTerrain |
bool | mPreloadInstances |
std::vector< osg::ref_ptr < const osg::Object > > | mPreloadedObjects |
Additional Inherited Members | |
Protected Attributes inherited from SceneUtil::WorkItem | |
OpenThreads::Atomic | mDone |
OpenThreads::Mutex | mMutex |
OpenThreads::Condition | mCondition |
Worker thread item: preload models in a cell.
|
private |
|
inline |
Constructor to be called from the main thread.
|
inlinevirtual |
Preload work to be called from the worker thread.
Reimplemented from SceneUtil::WorkItem.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |