ATLAS Offline Software
Classes | Namespaces | Functions
DataObjectSharedPtr.h File Reference

Smart pointer to manage DataObject reference counts. More...

#include "GaudiKernel/DataObject.h"
#include "boost/intrusive_ptr.hpp"
#include <memory>
Include dependency graph for DataObjectSharedPtr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SG::DataObjectSharedPtr< T >
 Smart pointer to manage DataObject reference counts. More...
 

Namespaces

 SG
 Forward declaration.
 

Functions

void intrusive_ptr_add_ref (DataObject *o)
 
void intrusive_ptr_release (DataObject *o)
 

Detailed Description

Smart pointer to manage DataObject reference counts.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Feb, 2016

Definition in file DataObjectSharedPtr.h.

Function Documentation

◆ intrusive_ptr_add_ref()

void intrusive_ptr_add_ref ( DataObject *  o)
inline

Definition at line 25 of file DataObjectSharedPtr.h.

26 {
27  o->addRef();
28 }

◆ intrusive_ptr_release()

void intrusive_ptr_release ( DataObject *  o)
inline

Definition at line 31 of file DataObjectSharedPtr.h.

32 {
33  o->release();
34 }