OpenSceneGraph
3.0.1
|
Public Types | |
typedef std::list < osgUtil::SceneView * > | SceneViewList |
Public Member Functions | |
ThreadSafeQueue () | |
~ThreadSafeQueue () | |
void | release () |
Release any thread waiting on the queue, even if the queue is empty. | |
osgUtil::SceneView * | takeFront () |
Take a SceneView from the queue. | |
void | add (osgUtil::SceneView *sv) |
Add a SceneView object to the back of the queue. | |
Public Attributes | |
OpenThreads::Mutex | _mutex |
OpenThreads::Condition | _cond |
SceneViewList | _queue |
bool | _isReleased |
typedef std::list<osgUtil::SceneView*> osgViewer::Renderer::ThreadSafeQueue::SceneViewList |
Add a SceneView object to the back of the queue.
Release any thread waiting on the queue, even if the queue is empty.
Take a SceneView from the queue.
Can return 0 if release() is called when the queue is empty.
OpenThreads::Condition osgViewer::Renderer::ThreadSafeQueue::_cond |
OpenThreads::Mutex osgViewer::Renderer::ThreadSafeQueue::_mutex |
![]() | Generated at Sat Apr 28 2012 08:53:58 for the OpenSceneGraph by doxygen 1.8.0. |