Detailed Description
Observer base class for tracking when objects are unreferenced (there 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 observerd objects observer set so there is no need for the objectDeleted implementation to call removeObserver() on the observed object.
Reimplemented in osg::State.
The documentation for this class was generated from the following file: