OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
MWRender::PreloadCommonAssetsWorkItem Class Reference
Inheritance diagram for MWRender::PreloadCommonAssetsWorkItem:
Collaboration diagram for MWRender::PreloadCommonAssetsWorkItem:

Public Member Functions

 PreloadCommonAssetsWorkItem (Resource::ResourceSystem *resourceSystem)
 
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...
 

Public Attributes

std::vector< std::string > mModels
 
std::vector< std::string > mTextures
 

Private Attributes

Resource::ResourceSystemmResourceSystem
 

Additional Inherited Members

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

Constructor & Destructor Documentation

MWRender::PreloadCommonAssetsWorkItem::PreloadCommonAssetsWorkItem ( Resource::ResourceSystem resourceSystem)
inline

Member Function Documentation

virtual void MWRender::PreloadCommonAssetsWorkItem::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

std::vector<std::string> MWRender::PreloadCommonAssetsWorkItem::mModels
Resource::ResourceSystem* MWRender::PreloadCommonAssetsWorkItem::mResourceSystem
private
std::vector<std::string> MWRender::PreloadCommonAssetsWorkItem::mTextures

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