#include <ReferenceCounted.h>
Public Member Functions | |
void | addReference () const |
BasicReferenceCounted () | |
BasicReferenceCounted (BasicReferenceCounted &&) | |
BasicReferenceCounted (const BasicReferenceCounted &) | |
BasicReferenceCounted & | operator= (BasicReferenceCounted &&) |
BasicReferenceCounted & | operator= (const BasicReferenceCounted &) |
unsigned int | references () const |
void | removeReference () const |
virtual | ~BasicReferenceCounted () |
Private Attributes | |
std::atomic< unsigned int > | referenceCount_ |
Definition at line 29 of file ReferenceCounted.h.
|
inline |
Definition at line 31 of file ReferenceCounted.h.
|
inline |
Definition at line 32 of file ReferenceCounted.h.
|
inline |
Definition at line 33 of file ReferenceCounted.h.
|
inlinevirtual |
Definition at line 38 of file ReferenceCounted.h.
|
inline |
Definition at line 42 of file ReferenceCounted.h.
References referenceCount_.
Referenced by PixelTrackBuilder::build(), and intrusive_ptr_add_ref().
|
inline |
Definition at line 34 of file ReferenceCounted.h.
|
inline |
Definition at line 36 of file ReferenceCounted.h.
|
inline |
|
inline |
Definition at line 43 of file ReferenceCounted.h.
References referenceCount_.
Referenced by intrusive_ptr_release().
|
mutableprivate |
Definition at line 56 of file ReferenceCounted.h.
Referenced by addReference(), references(), and removeReference().