RefCountBase

RefCountBase
Scaleform::RefCountBase
Declaration
template <class C, int Stat>
class RefCountBase : public RefCountBaseStatImpl<RefCountImpl, Stat>;
Description

RefCountBase is a base class for classes that require thread-safe reference counting in GFx. RefCountBase also overrides the new and delete operators to use MemoryHeap

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 
RefCountBase constructor. 
File

SF_RefCount.h