GL Studio API
|
#include <weak_reference.h>
Public Member Functions | |
virtual WeakReferenceable * | GetReferent () const =0 |
virtual void | NotifyReferentDestroyed ()=0 |
Interface for holding a weak reference to an object. This class should generally not be used directly. Use WeakRef instead
|
pure virtual |
Get a pointer to the object. Returns NULL if the object was deleted
|
pure virtual |
Notify this weak reference that the object destroyed