1 #ifndef DataFormats_GeometrySurface_ReferenceCounted_h
2 #define DataFormats_GeometrySurface_ReferenceCounted_h
22 #include "boost/intrusive_ptr.hpp"
64 public boost::intrusive_ptr<T>
72 public boost::intrusive_ptr<const T>
78 boost::intrusive_ptr<
const T>(&(*other)) {}
void intrusive_ptr_add_ref(const BasicReferenceCounted *iRef)
ConstReferenceCountingPointer()
BasicReferenceCounted & operator=(const BasicReferenceCounted &)
BasicReferenceCounted(const BasicReferenceCounted &)
BasicReferenceCounted ReferenceCounted
BasicReferenceCounted ReferenceCountedInConditions
ReferenceCountingPointer()
void removeReference() const
ReferenceCountingPointer(T *iT)
std::atomic< unsigned int > referenceCount_
ConstReferenceCountingPointer(const ReferenceCountingPointer< T > &other)
BasicReferenceCounted ReferenceCountedInEvent
unsigned int references() const
void intrusive_ptr_release(const BasicReferenceCounted *iRef)
void addReference() const
BasicReferenceCounted & operator=(BasicReferenceCounted &&)=default
virtual ~BasicReferenceCounted()
ConstReferenceCountingPointer(const T *iT)