1 #ifndef OPENMW_COMPONENTS_UNREFQUEUE_H
2 #define OPENMW_COMPONENTS_UNREFQUEUE_H
5 #include <osg/Referenced>
25 void push(
const osg::Object* obj);
A work queue that users can push work items onto, to be completed by one or more background threads...
Definition: workqueue.hpp:45
void flush(SceneUtil::WorkQueue *workQueue)
Definition: unrefqueue.cpp:38
void push(const osg::Object *obj)
Adds an object to the list of objects to be unreferenced. Call from the main thread.
Definition: unrefqueue.cpp:33
Handles unreferencing of objects through the WorkQueue. Typical use scenario would be the main thread...
Definition: unrefqueue.hpp:19
UnrefQueue()
Definition: unrefqueue.cpp:28
osg::ref_ptr< UnrefWorkItem > mWorkItem
Definition: unrefqueue.hpp:32