|
My Project
|
Base class for a reference counted asset. More...
#include <PERef.h>
Additional Inherited Members | |
Public Member Functions inherited from ParaEngine::CRefCounted | |
| void | addref () const |
| add reference count of the object. More... | |
| bool | delref () const |
| decrease reference count of the object. More... | |
| int | GetRefCount () const |
| get the reference count | |
| virtual int | Release () |
| CRefCounted * | AddToAutoReleasePool () |
| addref and releases the ownership sometime soon automatically (usually at the end of the current frame). More... | |
Protected Attributes inherited from ParaEngine::CRefCounted | |
| int | m_refcount |
Base class for a reference counted asset.
This class differs from IRef that it has 0 reference count, instead of 1 during creation. such its derived class usually use asset_ptr<CRefCountedOne> to store a newly allocated object. and can use traditional new, delete pairs if not managed.
1.8.12