#include <ReferenceCounted.h>
Public Member Functions | |
void | addReference () const |
BasicReferenceCounted () | |
BasicReferenceCounted (const BasicReferenceCounted &) | |
BasicReferenceCounted (BasicReferenceCounted &&)=default | |
BasicReferenceCounted & | operator= (BasicReferenceCounted &&)=default |
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 33 of file ReferenceCounted.h.
|
inline |
Definition at line 34 of file ReferenceCounted.h.
|
default |
|
inlinevirtual |
Definition at line 42 of file ReferenceCounted.h.
|
inline |
Definition at line 46 of file ReferenceCounted.h.
References referenceCount_.
Referenced by PixelTrackBuilder::build(), and intrusive_ptr_add_ref().
|
default |
|
inline |
Definition at line 38 of file ReferenceCounted.h.
|
inline |
Definition at line 52 of file ReferenceCounted.h.
References referenceCount_.
|
inline |
Definition at line 47 of file ReferenceCounted.h.
References referenceCount_.
Referenced by intrusive_ptr_release().
|
mutableprivate |
Definition at line 60 of file ReferenceCounted.h.
Referenced by addReference(), references(), and removeReference().