OpenMW
|
Public Member Functions | |
PreloadMeshItem (const std::string &mesh, Resource::SceneManager *sceneManager) | |
virtual void | doWork () |
Override in a derived WorkItem to perform actual work. More... | |
![]() | |
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::SceneManager * | mSceneManager |
Additional Inherited Members | |
![]() | |
OpenThreads::Atomic | mDone |
OpenThreads::Mutex | mMutex |
OpenThreads::Condition | mCondition |
|
inline |
|
inlinevirtual |
Override in a derived WorkItem to perform actual work.
Reimplemented from SceneUtil::WorkItem.
|
private |
|
private |