StrongRefBase
Engine/source/core/util/refBase.h
Base class for objects which can be strongly referenced (i.e., as long as reference exists, object will exist, when all strong references go away, object is destroyed).
Public Friends
class
Protected Attributes
reference counter for StrongRefPtr objects
Public Functions
Decrements the reference count.
object destroy self call (from StrongRefPtr). Override if this class has specially allocated memory.
Increments the reference count.
Detailed Description
Base class for objects which can be strongly referenced (i.e., as long as reference exists, object will exist, when all strong references go away, object is destroyed).
Public Friends
Protected Attributes
U32 mRefCount
reference counter for StrongRefPtr objects
Public Functions
StrongRefBase()
decRefCount()
Decrements the reference count.
destroySelf()
object destroy self call (from StrongRefPtr). Override if this class has specially allocated memory.
Reimplemented by: EngineObject, StaticEngineObject, SimObject, ResourceBase::Header, GFXTextureObject, SFXBuffer
getRefCount()
incRefCount()
Increments the reference count.