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

Public Member Functions

 IntDataProducer (const std::string &name, ISvcLocator *svcLoc)
int operator() () const override

Public Attributes

Gaudi::Property< int > m_value { this, "Value", 7, "The integer value to produce." }

Detailed Description

Definition at line 96 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ IntDataProducer()

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

Definition at line 98 of file MakeAndConsume.cpp.

99 : Producer( name, svcLoc, { "OutputLocation", "/Event/MyInt" } ) {}
details::Producer< Signature, Traits_, details::isLegacy< Traits_ > > Producer
Definition Producer.h:37

Member Function Documentation

◆ operator()()

int Gaudi::TestSuite::IntDataProducer::operator() ( ) const
inlineoverride

Definition at line 101 of file MakeAndConsume.cpp.

101 {
102 info() << "executing IntDataProducer, storing " << m_value.value() << " into " << outputLocation() << endmsg;
103 return m_value;
104 }
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition MsgStream.h:198

Member Data Documentation

◆ m_value

Gaudi::Property<int> Gaudi::TestSuite::IntDataProducer::m_value { this, "Value", 7, "The integer value to produce." }

Definition at line 106 of file MakeAndConsume.cpp.

106{ this, "Value", 7, "The integer value to produce." };

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