The Gaudi Framework  v36r9p1 (5c15b2bb)
Gaudi::Examples::ToolConsumer Struct Referencefinal
Inheritance diagram for Gaudi::Examples::ToolConsumer:
Collaboration diagram for Gaudi::Examples::ToolConsumer:

Public Member Functions

 ToolConsumer (const std::string &name, ISvcLocator *svcLoc)
 
void operator() (IMyTool const &tool) const override
 

Detailed Description

Definition at line 61 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ ToolConsumer()

Gaudi::Examples::ToolConsumer::ToolConsumer ( const std::string name,
ISvcLocator svcLoc 
)
inline

Definition at line 62 of file MakeAndConsume.cpp.

63  : Consumer( name, svcLoc, KeyValue{ "MyTool", "MyExampleTool" } ) {}

Member Function Documentation

◆ operator()()

void Gaudi::Examples::ToolConsumer::operator() ( IMyTool const &  tool) const
inlineoverride

Definition at line 65 of file MakeAndConsume.cpp.

65 { tool(); }

The documentation for this struct was generated from the following file:
Gaudi::Functional::Consumer
details::Consumer< Signature, Traits_, details::isLegacy< Traits_ > > Consumer
Definition: Consumer.h:69
bug_34121.tool
tool
Definition: bug_34121.py:17
TimingHistograms.name
name
Definition: TimingHistograms.py:25