CoCoALib-0.9905 date: 23 May 2007

CoCoA::IntrusiveReferenceCount Class Reference

#include <SmartPtrIRC.H>

Inheritance diagram for CoCoA::IntrusiveReferenceCount:

Inheritance graph
List of all members.

Protected Member Functions

 IntrusiveReferenceCount ()
 ctor just sets ref count to 0
virtual ~IntrusiveReferenceCount ()
 dtor MUST BE VIRTUAL (see doc)
void myRefCountInc () const
 increments ref count
void myRefCountDec () const
 decrements ref count, and self destructs if count becomes 0
void myRefCountZero () const
 sets myRefCount to 0

Detailed Description

Definition at line 65 of file SmartPtrIRC.H.

Constructor & Destructor Documentation

CoCoA::IntrusiveReferenceCount::IntrusiveReferenceCount  )  [inline, protected]

ctor just sets ref count to 0

Definition at line 78 of file SmartPtrIRC.H.

CoCoA::IntrusiveReferenceCount::~IntrusiveReferenceCount  )  [inline, protected, virtual]

dtor MUST BE VIRTUAL (see doc)

Definition at line 82 of file SmartPtrIRC.H.

Member Function Documentation

void CoCoA::IntrusiveReferenceCount::myRefCountInc  )  const [inline, protected]

increments ref count

Definition at line 86 of file SmartPtrIRC.H.

Referenced by CoCoA::ModuleBase::ModuleBase().

void CoCoA::IntrusiveReferenceCount::myRefCountDec  )  const [inline, protected]

decrements ref count, and self destructs if count becomes 0

Definition at line 91 of file SmartPtrIRC.H.

void CoCoA::IntrusiveReferenceCount::myRefCountZero  )  const [inline, protected]

sets myRefCount to 0

Definition at line 97 of file SmartPtrIRC.H.

The documentation for this class was generated from the following file:
Generated on Wed May 23 13:46:32 2007 for CoCoALib by  doxygen 1.4.6