osg::BarrierOperation Struct Reference

Inheritance diagram for osg::BarrierOperation:

osg::Operation OpenThreads::Barrier osg::Referenced

List of all members.

Public Types

enum  PreBlockOp { NO_OPERATION, GL_FLUSH, GL_FINISH }

Public Member Functions

 BarrierOperation (int numThreads, PreBlockOp op=NO_OPERATION, bool keep=true)
virtual void release ()
virtual void operator() (Object *object)

Public Attributes

PreBlockOp _preBlockOp


Detailed Description

BarrierOperation allows one to synchronize multiple GraphicsThreads with each other.

Member Enumeration Documentation

Enumerator:
NO_OPERATION 
GL_FLUSH 
GL_FINISH 


Constructor & Destructor Documentation

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


Member Function Documentation

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

Release the barrier, now.

Reimplemented from OpenThreads::Barrier.

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

Do the actual task of this operation.

Implements osg::Operation.


Member Data Documentation


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

Generated on Sat Mar 20 12:33:58 2010 for openscenegraph by  doxygen 1.5.6