33 <<
"ServiceLocatorHelper::locateService: wrong interface id "
34 << iid <<
" for service " << name <<
endmsg;
49 <<
"ServiceLocatorHelper::createService: wrong interface id "
50 << iid <<
" for service " << name <<
endmsg;
57 const std::string& name,
78 <<
"ServiceLocatorHelper::service: found service " << name <<
endmsg;
84 <<
"ServiceLocatorHelper::service: can not locate service "
ISvcLocator * serviceLocator() const
bool isSuccess() const
Test for a status code of SUCCESS.
std::string threadName() const
GAUDI_API bool isGaudiThreaded(const std::string &name)
test if current Gaudi object is running /will run in a thread
StatusCode service(const Gaudi::Utils::TypeNameString &name, T *&svc, bool createIf=true)
Templated method to access a service by name.
bool isValid() const
Allow for check if smart pointer is valid.
This class is used for returning status codes from appropriate routines.
StatusCode locateService(const std::string &name, const InterfaceID &iid, void **ppSvc, bool quiet=false) const
std::string threadedName(const std::string &name) const
SmartIF< IService > service(const std::string &name, const bool quiet=false, const bool createIf=true) const
const std::string & requesterName() const
GAUDI_API std::string getGaudiThreadIDfromName(const std::string &name)
helper function to extract Gaudi Thread ID from thread copy name
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
StatusCode createService(const std::string &name, const InterfaceID &iid, void **ppSvc) const