| GL Studio C++ Runtime API

Public Member Functions | List of all members
WeakReference Class Referenceabstract

`#include <weak_reference.h>`

## Public Member Functions
virtual WeakReferenceable * | GetReferent () 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:

- weak_reference.h