ATLAS Offline Software
Classes | Namespaces | Enumerations | Functions | Variables
getMessageSvc.h File Reference

singleton-like access to IMessageSvc via open function and helper More...

#include <cassert>
#include <string>
#include <atomic>
Include dependency graph for getMessageSvc.h:

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

 Athena
 Some weak symbol referencing magic...
 
 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. More...
 
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). More...
 

Detailed Description

singleton-like access to IMessageSvc via open function and helper

Author
Paolo Calafiura - Atlas collaboration

Definition in file getMessageSvc.h.