PixelLightAPI
.
|
Reference counter template. More...
#include <RefCount.h>
Public Member Functions | |
RefCount () | |
Constructor. | |
virtual | ~RefCount () |
Destructor. | |
virtual const AType * | GetPointer () const |
Get a pointer to the object. | |
virtual AType * | GetPointer () |
uint32 | AddReference () |
Increases the reference count. | |
uint32 | Release () |
Decreases the reference count. | |
uint32 | GetRefCount () const |
Gets the current reference count. |
Reference counter template.
PLCore::RefCount< AType >::RefCount | ( | ) |
PLCore::RefCount< AType >::~RefCount | ( | ) | [virtual] |
Destructor.
const AType * PLCore::RefCount< AType >::GetPointer | ( | ) | const [virtual] |
Get a pointer to the object.
Reimplemented in PLCore::RefCountPtr< AType >.
AType * PLCore::RefCount< AType >::GetPointer | ( | ) | [virtual] |
Reimplemented in PLCore::RefCountPtr< AType >.
uint32 PLCore::RefCount< AType >::AddReference | ( | ) |
Increases the reference count.
uint32 PLCore::RefCount< AType >::Release | ( | ) |
Decreases the reference count.
uint32 PLCore::RefCount< AType >::GetRefCount | ( | ) | const |
Gets the current reference count.
|