The Gaudi Framework  v36r1 (3e2fb5a8)
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 226 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ ContextIntConsumer()

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

Definition at line 228 of file MakeAndConsume.cpp.

229  : 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 231 of file MakeAndConsume.cpp.

231  {
232  info() << "executing ContextIntConsumer, got context = " << ctx << ", int = " << i << endmsg;
233  }

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