OpenMW
|
Worker thread item: update the resource system's cache, effectively deleting unused entries. More...
Public Member Functions | |
UpdateCacheItem (Resource::ResourceSystem *resourceSystem, Terrain::World *terrain, double referenceTime) | |
virtual void | doWork () |
Override in a derived WorkItem to perform actual work. 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 Attributes | |
double | mReferenceTime |
Resource::ResourceSystem * | mResourceSystem |
Terrain::World * | mTerrain |
Additional Inherited Members | |
Protected Attributes inherited from SceneUtil::WorkItem | |
OpenThreads::Atomic | mDone |
OpenThreads::Mutex | mMutex |
OpenThreads::Condition | mCondition |
Worker thread item: update the resource system's cache, effectively deleting unused entries.
|
inline |
|
inlinevirtual |
Override in a derived WorkItem to perform actual work.
Reimplemented from SceneUtil::WorkItem.
|
private |
|
private |
|
private |