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::PreloadMeshItem Class Reference
Inheritance diagram for MWWorld::PreloadMeshItem:
Collaboration diagram for MWWorld::PreloadMeshItem:

Public Member Functions

 PreloadMeshItem (const std::string &mesh, Resource::SceneManager *sceneManager)
 
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...
 
virtual void abort ()
 Set abort flag in order to return from doWork() as soon as possible. May not be respected by all WorkItems. More...
 

Private Attributes

std::string mMesh
 
Resource::SceneManagermSceneManager
 

Additional Inherited Members

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

Constructor & Destructor Documentation

MWWorld::PreloadMeshItem::PreloadMeshItem ( const std::string &  mesh,
Resource::SceneManager sceneManager 
)
inline

Member Function Documentation

virtual void MWWorld::PreloadMeshItem::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::string MWWorld::PreloadMeshItem::mMesh
private
Resource::SceneManager* MWWorld::PreloadMeshItem::mSceneManager
private

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