openscenegraph
Public Types | Public Member Functions | Public Attributes
osgViewer::Renderer::ThreadSafeQueue Struct Reference

List of all members.

Public Types

typedef std::list
< osgUtil::SceneView * > 
SceneViewList

Public Member Functions

 ThreadSafeQueue ()
 ~ThreadSafeQueue ()
void release ()
osgUtil::SceneViewtakeFront ()
void add (osgUtil::SceneView *sv)

Public Attributes

OpenThreads::Mutex _mutex
OpenThreads::Condition _cond
SceneViewList _queue
bool _isReleased

Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

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.


Member Data Documentation


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