11 #ifndef GAUDIKERNEL_SERVICELOCATORHELPER_H
12 #define GAUDIKERNEL_SERVICELOCATORHELPER_H
33 m_requesterName( requester.
name() ) {}
38 m_requesterName(
std::move( requesterName ) ) {}
43 m_requesterName(
std::move( requesterName ) ) {}
44 #if !defined( GAUDI_V22_API ) || defined( G22_NEW_SVCLOCATOR )
49 : m_svcLoc( svcLoc ), m_msgLog(
log ), m_requesterName(
std::move( requesterName ) ) {}
53 return createIf ? createService(
name, iid, ppSvc ) : locateService(
name, iid, ppSvc,
true );
62 SmartIF<IService> service( std::string_view
name,
const bool quiet =
false,
const bool createIf =
true )
const;
66 return service(
name, quiet, createIf ).as<T>();