The Gaudi Framework
v29r0 (ff2e7097)
|
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 20 of file ServiceLocatorHelper.h.
|
inline |
Definition at line 27 of file ServiceLocatorHelper.h.
|
inline |
Definition at line 34 of file ServiceLocatorHelper.h.
|
inline |
Definition at line 42 of file ServiceLocatorHelper.h.
StatusCode ServiceLocatorHelper::createService | ( | const std::string & | name, |
const InterfaceID & | iid, | ||
void ** | ppSvc | ||
) | const |
Definition at line 31 of file ServiceLocatorHelper.cpp.
StatusCode ServiceLocatorHelper::createService | ( | const std::string & | type, |
const std::string & | name, | ||
const InterfaceID & | iid, | ||
void ** | ppSvc | ||
) | const |
Definition at line 44 of file ServiceLocatorHelper.cpp.
|
inline |
Definition at line 50 of file ServiceLocatorHelper.h.
|
private |
Definition at line 14 of file ServiceLocatorHelper.cpp.
StatusCode ServiceLocatorHelper::locateService | ( | const std::string & | name, |
const InterfaceID & | iid, | ||
void ** | ppSvc, | ||
bool | quiet = false |
||
) | const |
Definition at line 16 of file ServiceLocatorHelper.cpp.
|
inlineprivate |
Definition at line 75 of file ServiceLocatorHelper.h.
|
inlineprivate |
Definition at line 76 of file ServiceLocatorHelper.h.
SmartIF< IService > ServiceLocatorHelper::service | ( | const std::string & | name, |
const bool | quiet = false , |
||
const bool | createIf = true |
||
) | const |
Definition at line 50 of file ServiceLocatorHelper.cpp.
|
inline |
Definition at line 65 of file ServiceLocatorHelper.h.
|
inlineprivate |
Definition at line 74 of file ServiceLocatorHelper.h.
|
private |
Definition at line 9 of file ServiceLocatorHelper.cpp.
|
private |
Definition at line 7 of file ServiceLocatorHelper.cpp.
|
mutableprivate |
Definition at line 78 of file ServiceLocatorHelper.h.
|
private |
Definition at line 79 of file ServiceLocatorHelper.h.
|
private |
Definition at line 77 of file ServiceLocatorHelper.h.