![]() |
ATLAS Offline Software
|
singleton-like access to IMessageSvc via open function and helper More...
#include <cassert>#include <string>#include <atomic>Go to the source code of this file.
Classes | |
| class | Athena::IMessageSvcHolder |
| get a IMessageSvc* on 1st use (if not set) and release it on ~ More... | |
Namespaces | |
| namespace | Athena |
| Some weak symbol referencing magic... These are declared in AthenaKernel/getMessageSvc.h and will be non-nullptr in case the GaudiSvc/AthenaKernel shared libraries have been loaded. | |
| namespace | Athena::Options |
Enumerations | |
| enum | Athena::Options::CreateOptions { Athena::Options::Eager , Athena::Options::Lazy } |
Functions | |
| IMessageSvc * | Athena::getMessageSvc (bool quiet=false) |
| IMessageSvc * | Athena::getMessageSvc (const Options::CreateOptions o, bool quiet=false) |
| void | Athena::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 dependency via weak linking. | |
| int | Athena::outputLevel (const IMessageSvc *ims, const std::string &source) |
| void | Athena::setOutputLevel (IMessageSvc *ims, const std::string &source, int level) |
Variables | |
| std::atomic< bool > | Athena::getMessageSvcQuiet |
| Set this to force off the warning messages from getMessageSvc (in unit tests, for example). | |
singleton-like access to IMessageSvc via open function and helper
Definition in file getMessageSvc.h.