The Gaudi Framework
master (37c0b60a)
|
#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 (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 80 of file ToolHandle.h.
|
inlineprotected |
Definition at line 83 of file ToolHandle.h.
|
inline |
Definition at line 109 of file ToolHandle.h.
|
inline |
Definition at line 107 of file ToolHandle.h.
|
inline |
Definition at line 96 of file ToolHandle.h.
|
inline |
Definition at line 94 of file ToolHandle.h.
|
protectedpure virtual |
Implemented in ToolHandle< T >.
|
protectedpure virtual |
Implemented in ToolHandle< T >, ToolHandle< IWrongTool >, ToolHandle< IMyTool >, ToolHandle< IAlgTool >, ToolHandle< Gaudi::Tests::Histograms::Directories::HistoGroupsTool >, ToolHandle< GaudiTesting::ITestTool >, ToolHandle< Gaudi::TestSuite::FloatTool >, ToolHandle< IThreadInitTool >, ToolHandle< const IMyTool >, ToolHandle< IWrongTool >, ToolHandle< IMyTool >, ToolHandle< IAlgTool >, ToolHandle< Gaudi::Tests::Histograms::Directories::HistoGroupsTool >, ToolHandle< GaudiTesting::ITestTool >, ToolHandle< Gaudi::TestSuite::FloatTool >, ToolHandle< IThreadInitTool >, and ToolHandle< const IMyTool >.
|
protectedpure virtual |
Implemented in ToolHandle< T >, ToolHandle< IWrongTool >, ToolHandle< IMyTool >, ToolHandle< IAlgTool >, ToolHandle< Gaudi::Tests::Histograms::Directories::HistoGroupsTool >, ToolHandle< GaudiTesting::ITestTool >, ToolHandle< Gaudi::TestSuite::FloatTool >, ToolHandle< IThreadInitTool >, and ToolHandle< const IMyTool >.
|
inline |
|
pure virtual |
Implemented in ToolHandle< Gaudi::Interface::Bind::IBinder< IFace > >, and ToolHandle< T >.
|
pure virtual |
Implemented in ToolHandle< T >, ToolHandle< IWrongTool >, ToolHandle< IMyTool >, ToolHandle< IAlgTool >, ToolHandle< Gaudi::Tests::Histograms::Directories::HistoGroupsTool >, ToolHandle< GaudiTesting::ITestTool >, ToolHandle< Gaudi::TestSuite::FloatTool >, ToolHandle< IThreadInitTool >, and ToolHandle< const IMyTool >.
|
pure virtual |
Implemented in ToolHandle< T >, ToolHandle< IWrongTool >, ToolHandle< IMyTool >, ToolHandle< IAlgTool >, ToolHandle< Gaudi::Tests::Histograms::Directories::HistoGroupsTool >, ToolHandle< GaudiTesting::ITestTool >, ToolHandle< Gaudi::TestSuite::FloatTool >, ToolHandle< IThreadInitTool >, and ToolHandle< const IMyTool >.
|
inline |
Definition at line 88 of file ToolHandle.h.
|
inline |
Definition at line 111 of file ToolHandle.h.
|
pure virtual |
Implemented in ToolHandle< T >.
|
protected |
Definition at line 118 of file ToolHandle.h.