OpenSceneGraph  3.5.1
Public Member Functions | List of all members
osg::Observer Class Reference

Observer base class for tracking when objects are unreferenced (their reference count goes to 0) and are being deleted. More...

Inheritance diagram for osg::Observer:
Inheritance graph
[legend]

Public Member Functions

 Observer ()
 
virtual ~Observer ()
 
virtual void objectDeleted (void *)
 objectDeleted is called when the observed object is about to be deleted. More...
 

Detailed Description

Observer base class for tracking when objects are unreferenced (their reference count goes to 0) and are being deleted.

Constructor & Destructor Documentation

osg::Observer::Observer ( )
virtual osg::Observer::~Observer ( )
virtual

Member Function Documentation

virtual void osg::Observer::objectDeleted ( void )
inlinevirtual

objectDeleted is called when the observed object is about to be deleted.

The observer will be automatically removed from the observed object's observer set so there is no need for the objectDeleted implementation to call removeObserver() on the observed object.


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

osg logo
Generated at Wed Nov 11 2015 22:14:38 for the OpenSceneGraph by doxygen 1.8.10.