xplRef Class Reference

#include <xplRef.h>

Inherited by xplMsg.

List of all members.


Detailed Description

Provides reference counting for xPL objects.

Any class wishing to include reference counting should be derived from xplRef. Derived classes must declare their destructor as protected virtual. On construction, the reference count is set to one. Calls to AddRef increment the count. Calls to Release decrement the count. When the count reaches zero, the object is deleted.


Public Member Functions

 xplRef ()
 Initializes the RefCount to one.
void AddRef ()
 Increases the reference count of the object.
void Release ()
 Removes a reference to an object.

Protected Member Functions

virtual ~xplRef ()


Generated on Sun Jan 21 14:30:24 2007 for xPL SDK by  doxygen 1.5.1-p1