C++ API Reference
|
Class implementing standard reference counting. More...
#include <adskRefCounted.h>
Static Public Member Functions | |
static bool | Debug (const RefCounted *me, Debug::Print &request) |
Answer a Print request for a RefCounted object. More... | |
static bool | Debug (const RefCounted *me, Debug::Footprint &request) |
Answer a footprint request for a RefCounted object. More... | |
Protected Member Functions | |
RefCounted () | |
RefCounted default ctor. | |
RefCounted (const RefCounted &) | |
RefCounted copy ctor. | |
virtual | ~RefCounted () |
RefCounted dtor. | |
Class implementing standard reference counting.
Simple abstract reference counting class, derive from it and implement the destructor, copy constructor, and assignment operator. Maintains a reference count and indicates deletion is safe when the count drops to zero.
|
static |
Answer a Print request for a RefCounted object.
Use the request object to dump all information on the "me" RefCounted, or all static RefCounted information if "me" is NULL.
[in] | me | Pointer to object to debug, NULL means class static |
[out] | request | Print request object |
|
static |
Answer a footprint request for a RefCounted object.
Populate the Footprint request with the information on all data stored within this class if "me" is NULL, otherwise the information stored in the RefCounted object pointed at by "me".
[in] | me | Pointer to object to footprint, NULL means class static |
[out] | request | Footprint object to populate |