|
ATLAS Offline Software
|
Go to the documentation of this file.
27 : m_saved (getCurrent()), m_current (val_printer)
29 using namespace msgAsgMessaging;
31 if (val_printer ==
nullptr)
36 getCurrent() = val_printer;
44 using namespace msgAsgMessaging;
48 ANA_MSG_FATAL (
"the overlay message printer changed underhand this should never happen");
67 static MessagePrinter defaultPrinter;
68 static IMessagePrinter *pointer = &defaultPrinter;
MessagePrinterOverlay(MessagePrinterOverlay &)=delete
static IMessagePrinter *& getCurrent() noexcept
get a reference to the pointer to the current IMessagePrinter
IMessagePrinter * m_saved
the stored message printer we need to restore
static IMessagePrinter & current() noexcept
get the current IMessagePrinter
~MessagePrinterOverlay() noexcept
remove the currently overlaid printer
IMessagePrinter * m_current
the current message printer we should have when we restore