The Gaudi Framework  v38r0 (2143aa4c)
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 93 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ IntDataProducer()

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

Definition at line 95 of file MakeAndConsume.cpp.

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

Member Function Documentation

◆ operator()()

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

Definition at line 98 of file MakeAndConsume.cpp.

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

Member Data Documentation

◆ m_value

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

Definition at line 103 of file MakeAndConsume.cpp.


The documentation for this struct was generated from the following file:
bug_34121.name
name
Definition: bug_34121.py:20
Gaudi::Functional::Producer
details::Producer< Signature, Traits_, details::isLegacy< Traits_ > > Producer
Definition: Producer.h:36
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:103