31 : Consumer( name, svcLoc ),
m_svc(
"Gaudi::TestSuite::SvcWithoutInterface/SvcWithoutInterface", name ) {}
35 .andThen( [
this] {
m_svc->doSomething(); } )
36 .andThen( [
this] { info() <<
"initialized" <<
endmsg; } );
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
#define DECLARE_COMPONENT(type)
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
StatusCode initialize() override
Service(std::string name, ISvcLocator *svcloc)
Standard Constructor.
UseSvcWithoutInterface(const std::string &name, ISvcLocator *svcLoc)
void operator()() const override
StatusCode initialize() override
ServiceHandle< SvcWithoutInterface > m_svc
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Handle to be used in lieu of naked pointers to services.
StatusCode initialize() override
Service(std::string name, ISvcLocator *svcloc)
Standard Constructor.
This class is used for returning status codes from appropriate routines.
StatusCode andThen(F &&f, ARGS &&... args) const
Chain code blocks making the execution conditional a success result.
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...