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

Public Member Functions

 ShrdPtrConsumer (const std::string &name, ISvcLocator *svcLoc)
void operator() (const std::shared_ptr< Foo > &foo) const override

Detailed Description

Definition at line 636 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ ShrdPtrConsumer()

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

Definition at line 638 of file MakeAndConsume.cpp.

639 : Consumer( name, svcLoc, { "InputLocation", "/Event/MySharedFoo" } ) {}
details::Consumer< Signature, Traits_, details::isLegacy< Traits_ > > Consumer
Definition Consumer.h:47

Member Function Documentation

◆ operator()()

void Gaudi::TestSuite::ShrdPtrConsumer::operator() ( const std::shared_ptr< Foo > & foo) const
inlineoverride

Definition at line 641 of file MakeAndConsume.cpp.

641 {
642 info() << "executing ShrdPtrConsumer, got shared_ptr<Foo> with payload at " << foo.get() << " with value "
643 << foo->i << " from " << inputLocation() << endmsg;
644 }
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition MsgStream.h:198

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