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

OW32::CRefCountedSingleThread Class Reference

A basic, thread un-safe reference counted object. Use only when you know that you will be synchronising access to AddRef() and Release(). More...

#include <RefCounted.h>

Inheritance diagram for OW32::CRefCountedSingleThread:

OW32::CRefCountedBase OW32::CRefCountedWrapperSingleThread< T > List of all members.

Public Member Functions

 CRefCountedSingleThread ()
 Default c'tor.
virtual LONG AddRef () const
 Add a reference to the object.
virtual LONG Release () const
 Decrement the reference count of this object.

Detailed Description

A basic, thread un-safe reference counted object. Use only when you know that you will be synchronising access to AddRef() and Release().


Member Function Documentation

virtual LONG OW32::CRefCountedSingleThread::AddRef  )  const [inline, virtual]
 

Add a reference to the object.

Returns:
The new reference count

Implements OW32::CRefCountedBase.

virtual LONG OW32::CRefCountedSingleThread::Release  )  const [inline, virtual]
 

Decrement the reference count of this object.

Returns:
The new reference count

Implements OW32::CRefCountedBase.


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