openscenegraph
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
osgUtil::IncrementalCompileOperation::CompileSet Class Reference
Inheritance diagram for osgUtil::IncrementalCompileOperation::CompileSet:
osg::Referenced

Public Types

typedef std::map
< osg::GraphicsContext
*, CompileList > 
CompileMap
 

Public Member Functions

 CompileSet ()
 
 CompileSet (osg::Node *subgraphToCompile)
 
 CompileSet (osg::Group *attachmentPoint, osg::Node *subgraphToCompile)
 
void buildCompileMap (ContextSet &contexts, StateToCompile &stateToCompile)
 
void buildCompileMap (ContextSet &contexts, GLObjectsVisitor::Mode mode=GLObjectsVisitor::COMPILE_DISPLAY_LISTS|GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES)
 
bool compile (CompileInfo &compileInfo)
 
bool compiled () const
 
- Public Member Functions inherited from osg::Referenced
 Referenced ()
 
 Referenced (bool threadSafeRefUnref)
 
 Referenced (const Referenced &)
 
Referenced & operator= (const Referenced &)
 
virtual void setThreadSafeRefUnref (bool threadSafe)
 
bool getThreadSafeRefUnref () const
 
OpenThreads::Mutex * getRefMutex () const
 
int ref () const
 
int unref () const
 
int unref_nodelete () const
 
int referenceCount () const
 
ObserverSet * getObserverSet () const
 
ObserverSet * getOrCreateObserverSet () const
 
void addObserver (Observer *observer) const
 
void removeObserver (Observer *observer) const
 

Public Attributes

OpenThreads::Atomic _numberCompileListsToCompile
 
osg::observer_ptr< osg::Group > _attachmentPoint
 
osg::ref_ptr< osg::Node > _subgraphToCompile
 
osg::ref_ptr
< CompileCompletedCallback > 
_compileCompletedCallback
 
CompileMap _compileMap
 

Protected Member Functions

virtual ~CompileSet ()
 
- Protected Member Functions inherited from osg::Referenced
virtual ~Referenced ()
 
void signalObserversAndDelete (bool signalDelete, bool doDelete) const
 
void deleteUsingDeleteHandler () const
 

Additional Inherited Members

- Static Public Member Functions inherited from osg::Referenced
static OpenThreads::Mutex * getGlobalReferencedMutex ()
 
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 
static bool getThreadSafeReferenceCounting ()
 
static void setDeleteHandler (DeleteHandler *handler)
 
static DeleteHandler * getDeleteHandler ()
 
- Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
 
OpenThreads::Atomic _refCount
 

Member Typedef Documentation

Constructor & Destructor Documentation

osgUtil::IncrementalCompileOperation::CompileSet::CompileSet ( )
inline
osgUtil::IncrementalCompileOperation::CompileSet::CompileSet ( osg::Node *  subgraphToCompile)
inline
osgUtil::IncrementalCompileOperation::CompileSet::CompileSet ( osg::Group *  attachmentPoint,
osg::Node *  subgraphToCompile 
)
inline
virtual osgUtil::IncrementalCompileOperation::CompileSet::~CompileSet ( )
inlineprotectedvirtual

Member Function Documentation

void osgUtil::IncrementalCompileOperation::CompileSet::buildCompileMap ( ContextSet &  contexts,
StateToCompile &  stateToCompile 
)
void osgUtil::IncrementalCompileOperation::CompileSet::buildCompileMap ( ContextSet &  contexts,
GLObjectsVisitor::Mode  mode = GLObjectsVisitor::COMPILE_DISPLAY_LISTS|GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES 
)
bool osgUtil::IncrementalCompileOperation::CompileSet::compile ( CompileInfo &  compileInfo)
bool osgUtil::IncrementalCompileOperation::CompileSet::compiled ( ) const
inline

Member Data Documentation

osg::observer_ptr<osg::Group> osgUtil::IncrementalCompileOperation::CompileSet::_attachmentPoint
osg::ref_ptr<CompileCompletedCallback> osgUtil::IncrementalCompileOperation::CompileSet::_compileCompletedCallback
CompileMap osgUtil::IncrementalCompileOperation::CompileSet::_compileMap
OpenThreads::Atomic osgUtil::IncrementalCompileOperation::CompileSet::_numberCompileListsToCompile
osg::ref_ptr<osg::Node> osgUtil::IncrementalCompileOperation::CompileSet::_subgraphToCompile

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