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

Public Member Functions

 ContextIntConsumer (const std::string &name, ISvcLocator *svcLoc)
void operator() (const EventContext &ctx, const int &i) const override

Detailed Description

Definition at line 328 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ ContextIntConsumer()

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

Definition at line 330 of file MakeAndConsume.cpp.

331 : 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::ContextIntConsumer::operator() ( const EventContext & ctx,
const int & i ) const
inlineoverride

Definition at line 333 of file MakeAndConsume.cpp.

333 {
334 info() << "executing ContextIntConsumer, got context = " << ctx << ", int = " << i << " from " << inputLocation()
335 << endmsg;
336 }
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition MsgStream.h:198

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