openscenegraph
Public Member Functions | List of all members
osg::GraphicsOperation Struct Reference
Inheritance diagram for osg::GraphicsOperation:
osg::Operation osg::Referenced osg::BlockAndFlushOperation osg::FlushDeletedGLObjectsOperation osg::ReleaseContext_Block_MakeCurrentOperation osg::RunOperations osg::SwapBuffersOperation osgUtil::GLObjectsOperation osgUtil::IncrementalCompileOperation osgViewer::Renderer

Public Member Functions

 GraphicsOperation (const std::string &name, bool keep)
virtual void operator() (Object *object)
virtual void operator() (GraphicsContext *context)=0
- Public Member Functions inherited from osg::Operation
 Operation (const std::string &name, bool keep)
void setName (const std::string &name)
const std::string & getName () const
void setKeep (bool keep)
bool getKeep () const
virtual void release ()
- Public Member Functions inherited from osg::Referenced
 Referenced ()
 Referenced (bool threadSafeRefUnref)
 Referenced (const Referenced &)
Referencedoperator= (const Referenced &)
virtual void setThreadSafeRefUnref (bool threadSafe)
bool getThreadSafeRefUnref () const
OpenThreads::MutexgetRefMutex () const
int ref () const
int unref () const
int unref_nodelete () const
int referenceCount () const
ObserverSetgetObserverSet () const
ObserverSetgetOrCreateObserverSet () const
void addObserver (Observer *observer) const
void removeObserver (Observer *observer) const

Additional Inherited Members

- Static Public Member Functions inherited from osg::Referenced
static OpenThreads::MutexgetGlobalReferencedMutex ()
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
static bool getThreadSafeReferenceCounting ()
static void setDeleteHandler (DeleteHandler *handler)
static DeleteHandlergetDeleteHandler ()
- Protected Member Functions inherited from osg::Operation
 Operation ()
 Operation (const Operation &op)
virtual ~Operation ()
- Protected Attributes inherited from osg::Operation
std::string _name
bool _keep

Constructor & Destructor Documentation

osg::GraphicsOperation::GraphicsOperation ( const std::string &  name,
bool  keep 
)
inline

Member Function Documentation

virtual void osg::GraphicsOperation::operator() ( Object object)
virtual

Override the standard Operation operator and dynamic cast object to a GraphicsContext, on success call operation()(GraphicsContext*).

Implements osg::Operation.

Reimplemented in osgViewer::Renderer.

virtual void osg::GraphicsOperation::operator() ( GraphicsContext context)
pure virtual

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