an helper to share the implementation of service() among the various kernel base classes
More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/ServiceLocatorHelper.h>
|
| ServiceLocatorHelper (ISvcLocator &svcLoc, const INamedInterface &requester) |
|
| ServiceLocatorHelper (ISvcLocator &svcLoc, std::string loggedName, std::string requesterName) |
|
| ServiceLocatorHelper (ISvcLocator &svcLoc, std::string requesterName) |
|
| ServiceLocatorHelper (ISvcLocator &svcLoc, const MsgStream &log, std::string requesterName) |
|
StatusCode | getService (std::string_view name, bool createIf, const InterfaceID &iid, void **ppSvc) const |
|
StatusCode | locateService (std::string_view name, const InterfaceID &iid, void **ppSvc, bool quiet=false) const |
|
StatusCode | createService (std::string_view name, const InterfaceID &iid, void **ppSvc) const |
|
StatusCode | createService (std::string_view type, std::string_view name, const InterfaceID &iid, void **ppSvc) const |
|
SmartIF< IService > | service (std::string_view name, const bool quiet=false, const bool createIf=true) const |
|
template<typename T > |
SmartIF< T > | service (std::string_view name, const bool quiet=false, const bool createIf=true) const |
|
an helper to share the implementation of service() among the various kernel base classes
Definition at line 27 of file ServiceLocatorHelper.h.
◆ ServiceLocatorHelper() [1/4]
◆ ServiceLocatorHelper() [2/4]
◆ ServiceLocatorHelper() [3/4]
◆ ServiceLocatorHelper() [4/4]
◆ createService() [1/2]
StatusCode ServiceLocatorHelper::createService |
( |
std::string_view |
name, |
|
|
const InterfaceID & |
iid, |
|
|
void ** |
ppSvc |
|
) |
| const |
◆ createService() [2/2]
StatusCode ServiceLocatorHelper::createService |
( |
std::string_view |
type, |
|
|
std::string_view |
name, |
|
|
const InterfaceID & |
iid, |
|
|
void ** |
ppSvc |
|
) |
| const |
◆ getService()
StatusCode ServiceLocatorHelper::getService |
( |
std::string_view |
name, |
|
|
bool |
createIf, |
|
|
const InterfaceID & |
iid, |
|
|
void ** |
ppSvc |
|
) |
| const |
|
inline |
◆ locateService()
StatusCode ServiceLocatorHelper::locateService |
( |
std::string_view |
name, |
|
|
const InterfaceID & |
iid, |
|
|
void ** |
ppSvc, |
|
|
bool |
quiet = false |
|
) |
| const |
◆ log()
MsgStream& ServiceLocatorHelper::log |
( |
| ) |
const |
|
inlineprivate |
◆ requesterName()
const std::string& ServiceLocatorHelper::requesterName |
( |
| ) |
const |
|
inlineprivate |
◆ service() [1/2]
SmartIF< IService > ServiceLocatorHelper::service |
( |
std::string_view |
name, |
|
|
const bool |
quiet = false , |
|
|
const bool |
createIf = true |
|
) |
| const |
◆ service() [2/2]
template<typename T >
SmartIF<T> ServiceLocatorHelper::service |
( |
std::string_view |
name, |
|
|
const bool |
quiet = false , |
|
|
const bool |
createIf = true |
|
) |
| const |
|
inline |
◆ serviceLocator()
ISvcLocator* ServiceLocatorHelper::serviceLocator |
( |
| ) |
const |
|
inlineprivate |
◆ m_msgLog
◆ m_requesterName
◆ m_svcLoc
The documentation for this class was generated from the following files: