Observer base class for tracking when objects are unreferenced (their reference count goes to 0) and are being deleted.
More...
Observer base class for tracking when objects are unreferenced (their reference count goes to 0) and are being deleted.
osg::Observer::Observer |
( |
| ) |
|
virtual osg::Observer::~Observer |
( |
| ) |
|
|
virtual |
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: