GL Studio C++ Runtime API
WeakReference Class Referenceabstract

#include <weak_reference.h>

Public Member Functions

virtual WeakReferenceableGetReferent () const =0
 
virtual void NotifyReferentDestroyed ()=0
 Notify this weak reference that the object destroyed.
 

Detailed Description

Interface for holding a weak reference to an object. This class should generally not be used directly. Use WeakRef instead

Member Function Documentation

◆ GetReferent()

virtual WeakReferenceable * GetReferent ( ) const
pure virtual
Returns
A pointer to the object. Returns NULL if the object was deleted.

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