![]() |
The Gaudi Framework
v30r0 (c919700c)
|
Non-templated base class for actual ToolHandle<T>. More...
#include <GaudiKernel/ToolHandle.h>
Public Member Functions | |
StatusCode | retrieve (IAlgTool *&tool) const |
virtual StatusCode | retrieve () const =0 |
const IAlgTool * | get () const |
IAlgTool * | get () |
virtual std::string | typeAndName () const =0 |
bool | isEnabled () const |
Helper to check if the ToolHandle should be retrieved. More... | |
void | enable () |
void | disable () |
bool | setEnabled (const bool flag) |
![]() | |
virtual | ~ToolHandleInfo ()=default |
bool | isPublic () const noexcept |
bool | createIf () const noexcept |
const IInterface * | parent () const noexcept |
Protected Member Functions | |
BaseToolHandle (const IInterface *parent=nullptr, bool createIf=true) | |
virtual StatusCode | i_retrieve (IAlgTool *&) const =0 |
virtual const IAlgTool * | getAsIAlgTool () const =0 |
virtual IAlgTool * | getAsIAlgTool ()=0 |
![]() | |
ToolHandleInfo (const IInterface *parent=nullptr, bool createIf=true) | |
Protected Attributes | |
bool | m_enabled = true |
![]() | |
const IInterface * | m_parent = nullptr |
bool | m_createIf {true} |
Additional Inherited Members | |
![]() | |
static std::string | toolComponentType (const IInterface *parent) |
static std::string | toolParentName (const IInterface *parent) |
Non-templated base class for actual ToolHandle<T>.
Defines the interface for the management of ToolHandles in the Algorithms and Tools
Definition at line 67 of file ToolHandle.h.
|
inlineprotected |
Definition at line 71 of file ToolHandle.h.
|
inline |
Definition at line 96 of file ToolHandle.h.
|
inline |
Definition at line 94 of file ToolHandle.h.
|
inline |
Definition at line 80 of file ToolHandle.h.
|
inline |
Definition at line 82 of file ToolHandle.h.
|
protectedpure virtual |
Implemented in ToolHandle< T >, and ToolHandle< IThreadInitTool >.
|
protectedpure virtual |
Implemented in ToolHandle< T >, and ToolHandle< IThreadInitTool >.
|
protectedpure virtual |
Implemented in ToolHandle< T >, and ToolHandle< IThreadInitTool >.
|
inline |
Helper to check if the ToolHandle should be retrieved.
Definition at line 87 of file ToolHandle.h.
|
inline |
Definition at line 76 of file ToolHandle.h.
|
pure virtual |
Implemented in ToolHandle< T >, and ToolHandle< IThreadInitTool >.
|
inline |
Definition at line 98 of file ToolHandle.h.
|
pure virtual |
Implemented in ToolHandle< T >, and ToolHandle< IThreadInitTool >.
|
protected |
Definition at line 110 of file ToolHandle.h.