OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
MWWorld::UpdateCacheItem Class Reference

Worker thread item: update the resource system's cache, effectively deleting unused entries. More...

Inheritance diagram for MWWorld::UpdateCacheItem:
Collaboration diagram for MWWorld::UpdateCacheItem:

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::ResourceSystemmResourceSystem
 
Terrain::WorldmTerrain
 

Additional Inherited Members

- Protected Attributes inherited from SceneUtil::WorkItem
OpenThreads::Atomic mDone
 
OpenThreads::Mutex mMutex
 
OpenThreads::Condition mCondition
 

Detailed Description

Worker thread item: update the resource system's cache, effectively deleting unused entries.

Constructor & Destructor Documentation

MWWorld::UpdateCacheItem::UpdateCacheItem ( Resource::ResourceSystem resourceSystem,
Terrain::World terrain,
double  referenceTime 
)
inline

Member Function Documentation

virtual void MWWorld::UpdateCacheItem::doWork ( )
inlinevirtual

Override in a derived WorkItem to perform actual work.

Reimplemented from SceneUtil::WorkItem.

Here is the call graph for this function:

Member Data Documentation

double MWWorld::UpdateCacheItem::mReferenceTime
private
Resource::ResourceSystem* MWWorld::UpdateCacheItem::mResourceSystem
private
Terrain::World* MWWorld::UpdateCacheItem::mTerrain
private

The documentation for this class was generated from the following file: