Plasma Engine  2.0
Loading...
Searching...
No Matches
plRefCounted Class Reference

Base class for reference counted objects. More...

#include <RefCounted.h>

Inheritance diagram for plRefCounted:

Public Member Functions

virtual ~plRefCounted ()=default
 Adds a virtual destructor.
 
- Public Member Functions inherited from plRefCountingImpl
 plRefCountingImpl ()=default
 Constructor.
 
 plRefCountingImpl (const plRefCountingImpl &rhs)
 
void operator= (const plRefCountingImpl &rhs)
 
plInt32 AddRef () const
 Increments the reference counter. Returns the new reference count.
 
plInt32 ReleaseRef () const
 Decrements the reference counter. Returns the new reference count.
 
bool IsReferenced () const
 Returns true if the reference count is greater than 0, false otherwise.
 
plInt32 GetRefCount () const
 Returns the current reference count.
 

Detailed Description

Base class for reference counted objects.


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