![]() |
The Gaudi Framework
v28r2
|
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, const std::string &loggedName, const std::string &requesterName) | |
| ServiceLocatorHelper (ISvcLocator &svcLoc, const std::string &requesterName) | |
| ServiceLocatorHelper (ISvcLocator &svcLoc, const MsgStream &log, const std::string &requesterName) | |
| StatusCode | getService (const std::string &name, bool createIf, const InterfaceID &iid, void **ppSvc) const |
| StatusCode | locateService (const std::string &name, const InterfaceID &iid, void **ppSvc, bool quiet=false) const |
| StatusCode | createService (const std::string &name, const InterfaceID &iid, void **ppSvc) const |
| StatusCode | createService (const std::string &type, const std::string &name, const InterfaceID &iid, void **ppSvc) const |
| SmartIF< IService > | service (const std::string &name, const bool quiet=false, const bool createIf=true) const |
| template<typename T > | |
| SmartIF< T > | service (const std::string &name, const bool quiet=false, const bool createIf=true) const |
Private Member Functions | |
| std::string | threadName () const |
| std::string | threadedName (const std::string &name) const |
| bool | isInThread () const |
| 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 17 of file ServiceLocatorHelper.h.
|
inline |
Definition at line 19 of file ServiceLocatorHelper.h.
|
inline |
Definition at line 24 of file ServiceLocatorHelper.h.
|
inline |
Definition at line 31 of file ServiceLocatorHelper.h.
|
inline |
Definition at line 37 of file ServiceLocatorHelper.h.
| StatusCode ServiceLocatorHelper::createService | ( | const std::string & | name, |
| const InterfaceID & | iid, | ||
| void ** | ppSvc | ||
| ) | const |
Definition at line 40 of file ServiceLocatorHelper.cpp.
| StatusCode ServiceLocatorHelper::createService | ( | const std::string & | type, |
| const std::string & | name, | ||
| const InterfaceID & | iid, | ||
| void ** | ppSvc | ||
| ) | const |
Definition at line 56 of file ServiceLocatorHelper.cpp.
|
inline |
Definition at line 43 of file ServiceLocatorHelper.h.
|
private |
Definition at line 18 of file ServiceLocatorHelper.cpp.
| StatusCode ServiceLocatorHelper::locateService | ( | const std::string & | name, |
| const InterfaceID & | iid, | ||
| void ** | ppSvc, | ||
| bool | quiet = false |
||
| ) | const |
Definition at line 23 of file ServiceLocatorHelper.cpp.
|
inlineprivate |
Definition at line 77 of file ServiceLocatorHelper.h.
|
inlineprivate |
Definition at line 78 of file ServiceLocatorHelper.h.
| SmartIF< IService > ServiceLocatorHelper::service | ( | const std::string & | name, |
| const bool | quiet = false, |
||
| const bool | createIf = true |
||
| ) | const |
Definition at line 63 of file ServiceLocatorHelper.cpp.
|
inline |
Definition at line 68 of file ServiceLocatorHelper.h.
|
inlineprivate |
Definition at line 76 of file ServiceLocatorHelper.h.
|
private |
Definition at line 13 of file ServiceLocatorHelper.cpp.
|
private |
Definition at line 8 of file ServiceLocatorHelper.cpp.
|
mutableprivate |
Definition at line 80 of file ServiceLocatorHelper.h.
|
private |
Definition at line 81 of file ServiceLocatorHelper.h.
|
private |
Definition at line 79 of file ServiceLocatorHelper.h.