RefCountBaseWeakSupport

RefCountBaseWeakSupport
Scaleform::RefCountBaseWeakSupport
Declaration
template <class C, int Stat>
class RefCountBaseWeakSupport : public RefCountBaseStatImpl<RefCountWeakSupportImpl, Stat>;
Description

RefCountBaseWeakSupport is a base class for classes that require non-thread-safe reference counting and WeakPtr<> support; and overrides the new and delete operators to use MemoryHeap. This class should only be used if all pointers to it are known to be assigned, destroyed and manipulated within one thread. 

Reference counted objects start out with RefCount value of 1. Further lifetime management is done through the AddRef() and Release methods, typically hidden by Ptr<>.

Methods
Method 
Description 
RefCountBaseWeakSupport constructor. 
File

SF_RefCount.h