The Gaudi Framework  v36r11 (bdb84f5f)
Gaudi::Examples::IntDataProducer Struct Referencefinal
Inheritance diagram for Gaudi::Examples::IntDataProducer:
Collaboration diagram for Gaudi::Examples::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 92 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ IntDataProducer()

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

Definition at line 94 of file MakeAndConsume.cpp.

95  : Producer( name, svcLoc, KeyValue( "OutputLocation", "/Event/MyInt" ) ) {}

Member Function Documentation

◆ operator()()

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

Definition at line 97 of file MakeAndConsume.cpp.

97  {
98  info() << "executing IntDataProducer, storing " << m_value.value() << " into " << outputLocation() << endmsg;
99  return m_value;
100  }

Member Data Documentation

◆ m_value

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

Definition at line 102 of file MakeAndConsume.cpp.


The documentation for this struct was generated from the following file:
TimingHistograms.name
name
Definition: TimingHistograms.py:25
Gaudi::Functional::Producer
details::Producer< Signature, Traits_, details::isLegacy< Traits_ > > Producer
Definition: Producer.h:37
Gaudi::Property::value
const ValueType & value() const
Definition: Property.h:239
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:203
Gaudi::Examples::IntDataProducer::m_value
Gaudi::Property< int > m_value
Definition: MakeAndConsume.cpp:102