CMS 3D CMS Logo

Classes | Typedefs | Functions
ReferenceCounted.h File Reference
#include "boost/intrusive_ptr.hpp"
#include <atomic>

Go to the source code of this file.

Classes

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

Typedefs

typedef BasicReferenceCounted ReferenceCounted
 
typedef BasicReferenceCounted ReferenceCountedInConditions
 
typedef BasicReferenceCounted ReferenceCountedInEvent
 

Functions

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

Typedef Documentation

Definition at line 95 of file ReferenceCounted.h.

Definition at line 90 of file ReferenceCounted.h.

Definition at line 93 of file ReferenceCounted.h.

Function Documentation

void intrusive_ptr_add_ref ( const BasicReferenceCounted iRef)
inline

Definition at line 81 of file ReferenceCounted.h.

References BasicReferenceCounted::addReference().

81  {
82  iRef->addReference();
83 }
void addReference() const
void intrusive_ptr_release ( const BasicReferenceCounted iRef)
inline

Definition at line 85 of file ReferenceCounted.h.

References BasicReferenceCounted::removeReference().

85  {
86  iRef->removeReference();
87 }
void removeReference() const