![]() |
The Gaudi Framework
v33r1 (b1225454)
|
an helper to share the implementation of service() among the various kernel base classes More...
#include <GaudiKernel/ServiceLocatorHelper.h>

Public Member Functions | |
| 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 |
Private Member Functions | |
| ISvcLocator * | serviceLocator () const |
| MsgStream & | log () const |
| const std::string & | requesterName () const |
Private Attributes | |
| ISvcLocator & | m_svcLoc |
| MsgStream | m_msgLog |
| std::string | m_requesterName |
an helper to share the implementation of service() among the various kernel base classes
Definition at line 27 of file ServiceLocatorHelper.h.
|
inline |
Definition at line 29 of file ServiceLocatorHelper.h.
|
inline |
Definition at line 34 of file ServiceLocatorHelper.h.
|
inline |
Definition at line 39 of file ServiceLocatorHelper.h.
|
inline |
Definition at line 45 of file ServiceLocatorHelper.h.
| StatusCode ServiceLocatorHelper::createService | ( | std::string_view | name, |
| const InterfaceID & | iid, | ||
| void ** | ppSvc | ||
| ) | const |
Definition at line 31 of file ServiceLocatorHelper.cpp.
| StatusCode ServiceLocatorHelper::createService | ( | std::string_view | type, |
| std::string_view | name, | ||
| const InterfaceID & | iid, | ||
| void ** | ppSvc | ||
| ) | const |
Definition at line 43 of file ServiceLocatorHelper.cpp.
|
inline |
Definition at line 51 of file ServiceLocatorHelper.h.
| StatusCode ServiceLocatorHelper::locateService | ( | std::string_view | name, |
| const InterfaceID & | iid, | ||
| void ** | ppSvc, | ||
| bool | quiet = false |
||
| ) | const |
Definition at line 17 of file ServiceLocatorHelper.cpp.
|
inlineprivate |
Definition at line 70 of file ServiceLocatorHelper.h.
|
inlineprivate |
Definition at line 71 of file ServiceLocatorHelper.h.
| SmartIF< IService > ServiceLocatorHelper::service | ( | std::string_view | name, |
| const bool | quiet = false, |
||
| const bool | createIf = true |
||
| ) | const |
Definition at line 48 of file ServiceLocatorHelper.cpp.
|
inline |
Definition at line 64 of file ServiceLocatorHelper.h.
|
inlineprivate |
Definition at line 69 of file ServiceLocatorHelper.h.
|
mutableprivate |
Definition at line 73 of file ServiceLocatorHelper.h.
|
private |
Definition at line 74 of file ServiceLocatorHelper.h.
|
private |
Definition at line 72 of file ServiceLocatorHelper.h.