CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 105 of file ReferenceCounted.h.

Definition at line 100 of file ReferenceCounted.h.

Definition at line 103 of file ReferenceCounted.h.

Function Documentation

void intrusive_ptr_add_ref ( const BasicReferenceCounted iRef)
inline

Definition at line 91 of file ReferenceCounted.h.

References BasicReferenceCounted::addReference().

91  {
92  iRef->addReference();
93 }
void addReference() const
void intrusive_ptr_release ( const BasicReferenceCounted iRef)
inline

Definition at line 95 of file ReferenceCounted.h.

References BasicReferenceCounted::removeReference().

95  {
96  iRef->removeReference();
97 }
void removeReference() const