[osg-users] OSG Observer

2010-06-24 Thread nikhil raprolu simha
Hi, I want to know what is an observer.And how is it generally be used(one or two things it is most commonly used for).And if possible links to some examples. Thanks in advance. Cheers, nikhil -- Read this topic online here:

Re: [osg-users] OSG Observer

2010-06-24 Thread Riccardo Corsi
Hi Nikhil, osg::Observer is a class to derive from if you want to receive a notification when any other (Referenced) object, previously added/assigned to the Observer, gets deleted. For instance the osg::observer_ptr is a kind of smart pointer that is automatically set himself to NULL when the