![]() |
The Gaudi Framework
master (9f3f8895)
|
Helper class to be used in conjunction with the recursive tool visitor to renounce certain inputs. More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/RenounceToolInputsVisitor.h>

Classes | |
| struct | ILogger |
| Helper class interface to optionally log renounce operations. More... | |
| struct | NoLogger |
| A do-nothing helper class which implements the logger interface. More... | |
| class | Logger |
Public Member Functions | |
| RenounceToolInputsVisitor (std::vector< DataObjID > input_keys, ILogger &logger=s_noLogger) | |
| construct the renounce visitor helper object | |
| void | operator() (IAlgTool *) |
Static Public Member Functions | |
| static Logger | createLogger (std::function< void(std::string_view, std::string_view)> func) |
| Create a logger from a function. | |
Private Attributes | |
| std::vector< DataObjID > | m_renounceKeys |
| ILogger * | m_logger |
Static Private Attributes | |
| static NoLogger s_noLogger | USAGE_IS_THREAD_SAFE |
Helper class to be used in conjunction with the recursive tool visitor to renounce certain inputs.
Definition at line 27 of file RenounceToolInputsVisitor.h.
|
inline |
construct the renounce visitor helper object
| input_keys | a list of input keys to be renounced. @parame logger optional helper object to log inputs which are renounced. By default this renounce visitor will renounce inputs with keys found in the inputs_names list, and it operates silently. |
Definition at line 68 of file RenounceToolInputsVisitor.h.
|
inlinestatic |
Create a logger from a function.
usage:
* auto logger=RenounceToolInputsVisitor::createLogger( [this]( std::string_view tool_name, std::string_view key )
* { this->msg(MSG::INFO) << " Renounce " << tool_name << " . " << key << endmsg;
* });
*
Definition at line 58 of file RenounceToolInputsVisitor.h.
| void RenounceToolInputsVisitor::operator() | ( | IAlgTool * | alg_tool | ) |
Definition at line 15 of file RenounceToolInputsVisitor.cpp.
|
private |
Definition at line 77 of file RenounceToolInputsVisitor.h.
|
private |
Definition at line 76 of file RenounceToolInputsVisitor.h.
|
staticprivate |
Definition at line 79 of file RenounceToolInputsVisitor.h.