|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #ifndef ATHENAKERNEL_DATAOBJECTSHAREDPTR_H
17 #define ATHENAKERNEL_DATAOBJECTSHAREDPTR_H
20 #include "GaudiKernel/DataObject.h"
21 #include "boost/intrusive_ptr.hpp"
45 :
public boost::intrusive_ptr<T>
48 typedef boost::intrusive_ptr<T>
Base;
51 :
Base (
p, add_ref) {}
68 #endif // not ATHENAKERNEL_DATAOBJECTSHAREDPTR_H
void intrusive_ptr_add_ref(DataObject *o)
DataObjectSharedPtr(const DataObjectSharedPtr &rhs)
boost::intrusive_ptr< T > Base
void intrusive_ptr_release(DataObject *o)
DataObjectSharedPtr(std::unique_ptr< T > p, bool add_ref=true)
DataObjectSharedPtr(T *p, bool add_ref=true)
DataObjectSharedPtr(const DataObjectSharedPtr< U > &rhs)
Smart pointer to manage DataObject reference counts.
DataObjectSharedPtr & operator=(const DataObjectSharedPtr &rhs)=default