The Gaudi Framework
v30r3 (a5ef0a68)
|
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 | |
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 22 of file ServiceLocatorHelper.cpp.
StatusCode ServiceLocatorHelper::createService | ( | const std::string & | type, |
const std::string & | name, | ||
const InterfaceID & | iid, | ||
void ** | ppSvc | ||
) | const |
Definition at line 35 of file ServiceLocatorHelper.cpp.
|
inline |
Definition at line 50 of file ServiceLocatorHelper.h.
StatusCode ServiceLocatorHelper::locateService | ( | const std::string & | name, |
const InterfaceID & | iid, | ||
void ** | ppSvc, | ||
bool | quiet = false |
||
) | const |
Definition at line 7 of file ServiceLocatorHelper.cpp.
|
inlineprivate |
Definition at line 72 of file ServiceLocatorHelper.h.
|
inlineprivate |
Definition at line 73 of file ServiceLocatorHelper.h.
SmartIF< IService > ServiceLocatorHelper::service | ( | const std::string & | name, |
const bool | quiet = false , |
||
const bool | createIf = true |
||
) | const |
Definition at line 41 of file ServiceLocatorHelper.cpp.
|
inline |
Definition at line 65 of file ServiceLocatorHelper.h.
|
inlineprivate |
Definition at line 71 of file ServiceLocatorHelper.h.
|
mutableprivate |
Definition at line 75 of file ServiceLocatorHelper.h.
|
private |
Definition at line 76 of file ServiceLocatorHelper.h.
|
private |
Definition at line 74 of file ServiceLocatorHelper.h.