CMS 3D CMS Logo

Classes | Defines | Typedefs | Functions

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/DataFormats/GeometrySurface/interface/ReferenceCounted.h File Reference

#include "boost/intrusive_ptr.hpp"
#include "DataFormats/GeometrySurface/interface/BlockWipedAllocator.h"

Go to the source code of this file.

Classes

class  BasicReferenceCounted
class  ConstReferenceCountingPointer< T >
class  ReferenceCountedPoolAllocated
class  ReferenceCountingPointer< T >

Defines

#define CMSSW_POOLALLOCATOR

Typedefs

typedef BasicReferenceCounted ReferenceCounted
typedef BasicReferenceCounted ReferenceCountedInConditions
typedef
ReferenceCountedPoolAllocated 
ReferenceCountedInEvent

Functions

void intrusive_ptr_add_ref (const BasicReferenceCounted *iRef)
void intrusive_ptr_add_ref (const ReferenceCountedPoolAllocated *iRef)
void intrusive_ptr_release (const ReferenceCountedPoolAllocated *iRef)
void intrusive_ptr_release (const BasicReferenceCounted *iRef)

Define Documentation

#define CMSSW_POOLALLOCATOR

Definition at line 88 of file ReferenceCounted.h.


Typedef Documentation

Definition at line 165 of file ReferenceCounted.h.

Definition at line 157 of file ReferenceCounted.h.

Definition at line 161 of file ReferenceCounted.h.


Function Documentation

void intrusive_ptr_add_ref ( const BasicReferenceCounted iRef) [inline]

Definition at line 79 of file ReferenceCounted.h.

References BasicReferenceCounted::addReference().

                                                                       {
  iRef->addReference();
}
void intrusive_ptr_add_ref ( const ReferenceCountedPoolAllocated iRef) [inline]

Definition at line 148 of file ReferenceCounted.h.

References ReferenceCountedPoolAllocated::addReference().

                                                                               {
  iRef->addReference();
}
void intrusive_ptr_release ( const ReferenceCountedPoolAllocated iRef) [inline]

Definition at line 152 of file ReferenceCounted.h.

References ReferenceCountedPoolAllocated::removeReference().

                                                                               {
  iRef->removeReference();
} 
void intrusive_ptr_release ( const BasicReferenceCounted iRef) [inline]

Definition at line 83 of file ReferenceCounted.h.

References BasicReferenceCounted::removeReference().

                                                                       {
  iRef->removeReference();
}