Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

OW32::CRefCountedBase Class Reference

A basic reference counted object. More...

#include <RefCounted.h>

Inheritance diagram for OW32::CRefCountedBase:

OW32::CRefCounted OW32::CRefCountedSingleThread OW32::CAsyncResolverHostsDB OW32::CAsyncResolverQuery OW32::CDirectoryWatch OW32::CFileWatch OW32::CHTTP OW32::CRefCountedWrapper< T > OW32::CRefCountedWrapperSingleThread< T > List of all members.

Public Member Functions

 CRefCountedBase ()
 Default constructor that creates an initial reference.
virtual ~CRefCountedBase ()
 Virtual d'tors are required.
virtual LONG AddRef () const =0
 Add a reference to the object.
virtual LONG Release () const =0
 Decrement the reference count of this object.

Protected Attributes

LONG m_refCount
 The current reference count.

Detailed Description

A basic reference counted object.


Member Function Documentation

virtual LONG OW32::CRefCountedBase::AddRef  )  const [pure virtual]
 

Add a reference to the object.

Returns:
The new reference count

Implemented in OW32::CRefCounted, and OW32::CRefCountedSingleThread.

virtual LONG OW32::CRefCountedBase::Release  )  const [pure virtual]
 

Decrement the reference count of this object.

Returns:
The new reference count

Implemented in OW32::CRefCounted, and OW32::CRefCountedSingleThread.


The documentation for this class was generated from the following file:
Generated on Sun Jun 5 01:29:26 2005 for OW32 by  doxygen 1.3.9.1