My Project
Public Member Functions | Protected Attributes | List of all members
ParaEngine::CRefCounted Class Reference
Inheritance diagram for ParaEngine::CRefCounted:
ParaEngine::BMaxNode ParaEngine::CBlockWorldManager ParaEngine::CDynamicAttributeField ParaEngine::CDynamicAttributesSet ParaEngine::CFileSystemWatcherService ParaEngine::CParticleElement ParaEngine::CRefCountedOne ParaEngine::CTouchGestureBase ParaEngine::IObject ParaEngine::Rectangle ParaEngine::TextureComposeTask ParaEngine::weak_ref_object< T > ParaEngine::XFileDataObject ParaEngine::ZipArchiveEntry

Public Member Functions

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 ()
 
CRefCountedAddToAutoReleasePool ()
 addref and releases the ownership sometime soon automatically (usually at the end of the current frame). More...
 

Protected Attributes

int m_refcount
 

Member Function Documentation

§ addref()

void ParaEngine::CRefCounted::addref ( ) const
inline

add reference count of the object.

§ AddToAutoReleasePool()

CRefCounted * ParaEngine::CRefCounted::AddToAutoReleasePool ( )

addref and releases the ownership sometime soon automatically (usually at the end of the current frame).

Returns
The CRefCounted itself.
See also
CObjectAutoReleasePool

§ delref()

bool ParaEngine::CRefCounted::delref ( ) const
inline

decrease reference count of the object.

Returns
: return true if the the reference count is zero after decreasing it

The documentation for this class was generated from the following files: