CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Macros | Typedefs | Functions
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 >
 

Macros

#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 BasicReferenceCounted *iRef)
 
void intrusive_ptr_release (const ReferenceCountedPoolAllocated *iRef)
 

Macro Definition 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().

79  {
80  iRef->addReference();
81 }
void addReference() const
void intrusive_ptr_add_ref ( const ReferenceCountedPoolAllocated iRef)
inline

Definition at line 148 of file ReferenceCounted.h.

References ReferenceCountedPoolAllocated::addReference().

148  {
149  iRef->addReference();
150 }
void intrusive_ptr_release ( const BasicReferenceCounted iRef)
inline

Definition at line 83 of file ReferenceCounted.h.

References BasicReferenceCounted::removeReference().

83  {
84  iRef->removeReference();
85 }
void removeReference() const
void intrusive_ptr_release ( const ReferenceCountedPoolAllocated iRef)
inline

Definition at line 152 of file ReferenceCounted.h.

References ReferenceCountedPoolAllocated::removeReference().

152  {
153  iRef->removeReference();
154 }