The Gaudi Framework
v30r3 (a5ef0a68)
|
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 |
virtual StatusCode | retrieve (DisableTool sd)=0 |
virtual StatusCode | retrieve (EnableTool sd)=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) |
Public Member Functions inherited from ToolHandleInfo | |
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 |
Protected Member Functions inherited from ToolHandleInfo | |
ToolHandleInfo (const IInterface *parent=nullptr, bool createIf=true) | |
Protected Attributes | |
bool | m_enabled = true |
Protected Attributes inherited from ToolHandleInfo | |
const IInterface * | m_parent = nullptr |
bool | m_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) |
Non-templated base class for actual ToolHandle<T>.
Defines the interface for the management of ToolHandles in the Algorithms and Tools
Definition at line 71 of file ToolHandle.h.
|
inlineprotected |
Definition at line 75 of file ToolHandle.h.
|
inline |
Definition at line 102 of file ToolHandle.h.
|
inline |
Definition at line 100 of file ToolHandle.h.
|
inline |
Definition at line 86 of file ToolHandle.h.
|
inline |
Definition at line 88 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 93 of file ToolHandle.h.
|
inline |
Definition at line 80 of file ToolHandle.h.
|
pure virtual |
Implemented in ToolHandle< T >, and ToolHandle< IThreadInitTool >.
|
pure virtual |
Implemented in ToolHandle< T >, and ToolHandle< IThreadInitTool >.
|
pure virtual |
Implemented in ToolHandle< T >, and ToolHandle< IThreadInitTool >.
|
inline |
Definition at line 104 of file ToolHandle.h.
|
pure virtual |
Implemented in ToolHandle< T >, and ToolHandle< IThreadInitTool >.
|
protected |
Definition at line 116 of file ToolHandle.h.