osg::BarrierOperation Struct Reference

BarrierOperation allows one to syncronize multiple GraphicsThreads with each other. More...

Inheritance diagram for osg::BarrierOperation:

Inheritance graph
[legend]

List of all members.

Public Types

enum  PreBlockOp { NO_OPERATION, GL_FLUSH, GL_FINISH }

Public Member Functions

 BarrierOperation (int numThreads, PreBlockOp op=NO_OPERATION)
virtual void release ()
 if this operation is a barrier then release it.
virtual void operator() (Object *object)
 Do the actual task of this operation.

Public Attributes

PreBlockOp _preBlockOp


Detailed Description

BarrierOperation allows one to syncronize multiple GraphicsThreads with each other.


Member Enumeration Documentation

enum osg::BarrierOperation::PreBlockOp

Enumerator:
NO_OPERATION 
GL_FLUSH 
GL_FINISH 


Constructor & Destructor Documentation

osg::BarrierOperation::BarrierOperation ( int  numThreads,
PreBlockOp  op = NO_OPERATION 
) [inline]


Member Function Documentation

virtual void osg::BarrierOperation::release (  )  [virtual]

if this operation is a barrier then release it.

Reimplemented from osg::Operation.

virtual void osg::BarrierOperation::operator() ( Object  )  [virtual]

Do the actual task of this operation.

Implements osg::Operation.


Member Data Documentation

PreBlockOp osg::BarrierOperation::_preBlockOp


The documentation for this struct was generated from the following file:
Generated at Sun Oct 14 02:12:09 2007 for the OpenSceneGraph by doxygen 1.5.3.