Scaleform::RefCountBaseNTS
template <class C, int Stat> class RefCountBaseNTS : public RefCountBaseStatImpl<RefCountNTSImpl, Stat>;
RefCountBaseNTS is a base class for classes that require non-thread-safe reference counting; and it also 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<>.
Method |
Description |
RefCountBaseNTS constructor. |
SF_RefCount.h