RefCounted Class Reference
#include <adskRefCounted.h>
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.
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.
- Parameters
-
[in] | me | Pointer to object to debug, NULL means class static |
[out] | request | Print request object |
- Returns
- True if the request was successfully processed.
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".
- Parameters
-
[in] | me | Pointer to object to footprint, NULL means class static |
[out] | request | Footprint object to populate |
- Returns
- True if the request was successfully processed. The Footprint object will have all information added to it.
The documentation for this class was generated from the following files:
- adskRefCounted.h
- adskRefCounted.cpp