The Gaudi Framework  v36r9p1 (5c15b2bb)
Gaudi::Examples::ContextIntConsumer Struct Referencefinal
Inheritance diagram for Gaudi::Examples::ContextIntConsumer:
Collaboration diagram for Gaudi::Examples::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 270 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ ContextIntConsumer()

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

Definition at line 272 of file MakeAndConsume.cpp.

273  : Consumer( name, svcLoc, KeyValue( "InputLocation", "/Event/MyInt" ) ) {}

Member Function Documentation

◆ operator()()

void Gaudi::Examples::ContextIntConsumer::operator() ( const EventContext ctx,
const int &  i 
) const
inlineoverride

Definition at line 275 of file MakeAndConsume.cpp.

275  {
276  info() << "executing ContextIntConsumer, got context = " << ctx << ", int = " << i << endmsg;
277  }

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
TimingHistograms.name
name
Definition: TimingHistograms.py:25
GaudiPython.Pythonizations.ctx
ctx
Definition: Pythonizations.py:588
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:203