BaseToolHandle Class Referenceabstract

Non-templated base class for actual ToolHandle<T>. More...

#include <GaudiKernel/ToolHandle.h>

Inheritance diagram for BaseToolHandle:
Collaboration diagram for BaseToolHandle:

Public Member Functions

virtual ~BaseToolHandle ()
 
StatusCode retrieve (IAlgTool *&tool) const
 
virtual ~BaseToolHandle ()
 
StatusCode retrieve (IAlgTool *&tool) const
 
- Public Member Functions inherited from ToolHandleInfo
virtual ~ToolHandleInfo ()=default
 
bool isPublic () const
 
bool createIf () const
 
const IInterfaceparent () const
 
virtual ~ToolHandleInfo ()=default
 
bool isPublic () const
 
bool createIf () const
 
const IInterfaceparent () const
 

Protected Member Functions

 BaseToolHandle (const IInterface *parent=nullptr, bool createIf=true)
 
virtual StatusCode i_retrieve (IAlgTool *&) const =0
 
 BaseToolHandle (const IInterface *parent=nullptr, bool createIf=true)
 
virtual StatusCode i_retrieve (IAlgTool *&) const =0
 
- Protected Member Functions inherited from ToolHandleInfo
 ToolHandleInfo (const IInterface *parent=nullptr, bool createIf=true)
 
 ToolHandleInfo (const IInterface *parent=nullptr, bool createIf=true)
 

Additional Inherited Members

- Static Public Member Functions inherited from ToolHandleInfo
static std::string toolComponentType (const IInterface *parent)
 
static std::string toolParentName (const IInterface *parent)
 
static std::string toolComponentType (const IInterface *parent)
 
static std::string toolParentName (const IInterface *parent)
 
- Protected Attributes inherited from ToolHandleInfo
const IInterfacem_parent
 
bool m_createIf
 

Detailed Description

Non-templated base class for actual ToolHandle<T>.

Defines the interface for the management of ToolHandles in the Algorithms and Tools

Author
Daniel Funke danie.nosp@m.l.fu.nosp@m.nke@c.nosp@m.ern..nosp@m.ch

Definition at line 66 of file ToolHandle.h.

Constructor & Destructor Documentation

BaseToolHandle::BaseToolHandle ( const IInterface parent = nullptr,
bool  createIf = true 
)
inlineprotected

Definition at line 69 of file ToolHandle.h.

70  : ToolHandleInfo(parent, createIf)
71  {}
bool createIf() const
Definition: ToolHandle.h:36
ToolHandleInfo(const IInterface *parent=nullptr, bool createIf=true)
Definition: ToolHandle.h:27
virtual BaseToolHandle::~BaseToolHandle ( )
inlinevirtual

Definition at line 76 of file ToolHandle.h.

76 {}
BaseToolHandle::BaseToolHandle ( const IInterface parent = nullptr,
bool  createIf = true 
)
inlineprotected

Definition at line 69 of file ToolHandle.h.

70  : ToolHandleInfo(parent, createIf)
71  {}
bool createIf() const
Definition: ToolHandle.h:36
ToolHandleInfo(const IInterface *parent=nullptr, bool createIf=true)
Definition: ToolHandle.h:27
virtual BaseToolHandle::~BaseToolHandle ( )
inlinevirtual

Definition at line 76 of file ToolHandle.h.

76 {}

Member Function Documentation

virtual StatusCode BaseToolHandle::i_retrieve ( IAlgTool *&  ) const
protectedpure virtual

Implemented in ToolHandle< T >, and ToolHandle< T >.

virtual StatusCode BaseToolHandle::i_retrieve ( IAlgTool *&  ) const
protectedpure virtual

Implemented in ToolHandle< T >, and ToolHandle< T >.

StatusCode BaseToolHandle::retrieve ( IAlgTool *&  tool) const
inline

Definition at line 78 of file ToolHandle.h.

78  {
79  return i_retrieve(tool);
80  }
virtual StatusCode i_retrieve(IAlgTool *&) const =0
StatusCode BaseToolHandle::retrieve ( IAlgTool *&  tool) const
inline

Definition at line 78 of file ToolHandle.h.

78  {
79  return i_retrieve(tool);
80  }
virtual StatusCode i_retrieve(IAlgTool *&) const =0

The documentation for this class was generated from the following file: