The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::TestSuite::THDataConsumer Struct Reference
Inheritance diagram for Gaudi::TestSuite::THDataConsumer:
Collaboration diagram for Gaudi::TestSuite::THDataConsumer:

Public Member Functions

 THDataConsumer (const std::string &name, ISvcLocator *svcLoc)
void operator() (const int &input) const override

Public Attributes

ToolHandle< FloatTool > m_floatTool { this, "FloatTool", "Gaudi::TestSuite::FloatTool" }

Detailed Description

Definition at line 46 of file Algorithms.cpp.

Constructor & Destructor Documentation

◆ THDataConsumer()

Gaudi::TestSuite::THDataConsumer::THDataConsumer ( const std::string & name,
ISvcLocator * svcLoc )
inline

Definition at line 48 of file Algorithms.cpp.

49 : Consumer( name, svcLoc, { "InputLocation", "/Event/MyInt" } ) {}
details::Consumer< Signature, Traits_, details::isLegacy< Traits_ > > Consumer
Definition Consumer.h:47

Member Function Documentation

◆ operator()()

void Gaudi::TestSuite::THDataConsumer::operator() ( const int & input) const
inlineoverride

Definition at line 51 of file Algorithms.cpp.

51 {
52 info() << "executing IntDataConsumer, checking " << input << " from " << inputLocation() << " and "
53 << m_floatTool->getFloat() << " from FloatTool are matching" << endmsg;
54 }
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition MsgStream.h:198
ToolHandle< FloatTool > m_floatTool

Member Data Documentation

◆ m_floatTool

ToolHandle<FloatTool> Gaudi::TestSuite::THDataConsumer::m_floatTool { this, "FloatTool", "Gaudi::TestSuite::FloatTool" }

Definition at line 56 of file Algorithms.cpp.

56{ this, "FloatTool", "Gaudi::TestSuite::FloatTool" };

The documentation for this struct was generated from the following file: