|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef ATHENAKERNEL_GETMESSAGESVC_H
8 #define ATHENAKERNEL_GETMESSAGESVC_H 1
87 operator IMessageSvc*() {
return this->
get(); }
~IMessageSvcHolder()
releases the IMessageSvc
get a IMessageSvc* on 1st use (if not set) and release it on ~
IMessageSvcHolder & operator=(const IMessageSvcHolder &)
std::atomic< bool > getMessageSvcQuiet
Set this to force off the warning messages from getMessageSvc (in unit tests, for example).
int outputLevel(const IMessageSvc *ims, const std::string &source)
IMessageSvc * getMessageSvc(bool quiet=false)
IMessageSvc * get()
upon first access sets m_ims as needed
Some weak symbol referencing magic...
void setOutputLevel(IMessageSvc *ims, const std::string &source, int level)
IMessageSvcHolder()
will take the IMessageSvc* lazily from getMessageSvc() in get() Slow, but useful for classes without ...
void reportMessage(IMessageSvc *ims, const std::string &source, int type, const std::string &message)
Wrappers for some of the IMessageSvc methods These can be used from libraries without explicit Gaudi ...