ThePEG::Pointer::RCPtrBase Class Reference

RCPtrBase is the base class of RCPtr and ConstRCPtr which are reference counted (smart) pointers. More...

#include <RCPtr.h>

Inheritance diagram for ThePEG::Pointer::RCPtrBase:

ThePEG::Pointer::ConstRCPtr< T > ThePEG::Pointer::RCPtr< T >

List of all members.

Protected Member Functions

void increment (const ReferenceCounted *rcp)
 Increment the counter of a reference counted object.
bool release (const ReferenceCounted *rcp)
 Decrement the counter of a reference counted object.

Private Types

typedef
ReferenceCounted::CounterType 
CounterType
 Get counter type from ReferenceCounted class.


Detailed Description

RCPtrBase is the base class of RCPtr and ConstRCPtr which are reference counted (smart) pointers.

The RCPtrBase class communicates with the ReferenceCounted object which must be the base class of all objects pointed to and which keeps count of the pointers pointing to an object.

See also:
ReferenceCounted

Definition at line 30 of file RCPtr.h.


Member Typedef Documentation

Get counter type from ReferenceCounted class.

Definition at line 33 of file RCPtr.h.


The documentation for this class was generated from the following file:

Generated on Thu Apr 29 12:43:33 2010 for ThePEG by  doxygen 1.5.5