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

Public Member Functions

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

Public Attributes

Gaudi::Property< std::string > m_value { this, "Value", "Any value", "The string value to produce." }

Detailed Description

Definition at line 111 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ StringDataProducer()

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

Definition at line 113 of file MakeAndConsume.cpp.

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

Member Function Documentation

◆ operator()()

std::string Gaudi::TestSuite::StringDataProducer::operator() ( ) const
inlineoverride

Definition at line 116 of file MakeAndConsume.cpp.

116 {
117 info() << "executing StringDataProducer, storing " << m_value.value() << " into " << outputLocation() << endmsg;
118 return m_value;
119 }
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition MsgStream.h:198
Gaudi::Property< std::string > m_value

Member Data Documentation

◆ m_value

Gaudi::Property<std::string> Gaudi::TestSuite::StringDataProducer::m_value { this, "Value", "Any value", "The string value to produce." }

Definition at line 121 of file MakeAndConsume.cpp.

121{ this, "Value", "Any value", "The string value to produce." };

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