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

◆ ReferenceCounted

Definition at line 83 of file ReferenceCounted.h.

◆ ReferenceCountedInConditions

Definition at line 79 of file ReferenceCounted.h.

◆ ReferenceCountedInEvent

Definition at line 81 of file ReferenceCounted.h.

Function Documentation

◆ intrusive_ptr_add_ref()

void intrusive_ptr_add_ref ( const BasicReferenceCounted iRef)
inline

Definition at line 74 of file ReferenceCounted.h.

References BasicReferenceCounted::addReference().

74 { iRef->addReference(); }

◆ intrusive_ptr_release()

void intrusive_ptr_release ( const BasicReferenceCounted iRef)
inline

Definition at line 76 of file ReferenceCounted.h.

References BasicReferenceCounted::removeReference().

76 { iRef->removeReference(); }
void removeReference() const