ATLAS Offline Software
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
AraToolBase Class Reference

#include <AraToolBase.h>

Inheritance diagram for AraToolBase:
Collaboration diagram for AraToolBase:

Public Types

typedef PropertyHolder< CommonMessaging< implements< IAlgTool, IDataHandleHolder, IProperty, IStateful > > > PropertyMgr
 

Public Member Functions

 AraToolBase (PropertyMgr *pmgr=0)
 
virtual ~AraToolBase ()
 
template<class TYPE >
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, TYPE &value, const std::string &doc="none")
 
PropertyMgrgetPropertyMgr ()
 

Protected Member Functions

bool runningARA () const
 

Private Attributes

PropertyMgrm_propertyMgr
 
bool m_runningARA
 

Detailed Description

Definition at line 16 of file AraToolBase.h.

Member Typedef Documentation

◆ PropertyMgr

typedef PropertyHolder<CommonMessaging<implements<IAlgTool, IDataHandleHolder, IProperty, IStateful> > > AraToolBase::PropertyMgr

Definition at line 19 of file AraToolBase.h.

Constructor & Destructor Documentation

◆ AraToolBase()

AraToolBase::AraToolBase ( PropertyMgr pmgr = 0)

Definition at line 7 of file AraToolBase.cxx.

8  :m_propertyMgr(pmgr),m_runningARA(false)
9 {
10  if(!m_propertyMgr) {
11  m_runningARA=true;
12  }
13 }

◆ ~AraToolBase()

AraToolBase::~AraToolBase ( )
virtual

Definition at line 15 of file AraToolBase.cxx.

16 {
17 }

Member Function Documentation

◆ declareProperty()

template<class TYPE >
Gaudi::Details::PropertyBase * AraToolBase::declareProperty ( const std::string &  name,
TYPE value,
const std::string &  doc = "none" 
)
inline

Definition at line 51 of file AraToolBase.h.

55 {
56 
57  if(m_runningARA) {
58  } else {
59  return m_propertyMgr->declareProperty(name, value, doc);
60  }
61 
62  return 0;
63 }

◆ getPropertyMgr()

PropertyMgr* AraToolBase::getPropertyMgr ( )
inline

Definition at line 43 of file AraToolBase.h.

43 {return m_propertyMgr;}

◆ runningARA()

bool AraToolBase::runningARA ( ) const
inlineprotected

Definition at line 22 of file AraToolBase.h.

22 { return m_runningARA; }

Member Data Documentation

◆ m_propertyMgr

PropertyMgr* AraToolBase::m_propertyMgr
private

Definition at line 25 of file AraToolBase.h.

◆ m_runningARA

bool AraToolBase::m_runningARA
private

Definition at line 26 of file AraToolBase.h.


The documentation for this class was generated from the following files:
AraToolBase::m_runningARA
bool m_runningARA
Definition: AraToolBase.h:26
athena.value
value
Definition: athena.py:122
AraToolBase::m_propertyMgr
PropertyMgr * m_propertyMgr
Definition: AraToolBase.h:25
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195