|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef ASG_MESSAGING__MESSAGE_PRINTER_OVERLAY_H
10 #define ASG_MESSAGING__MESSAGE_PRINTER_OVERLAY_H
14 class IMessagePrinter;
55 static IMessagePrinter&
current () noexcept;
69 static IMessagePrinter*&
getCurrent () noexcept;
MessagePrinterOverlay operator=(MessagePrinterOverlay &)=delete
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
an object to change the IMessagePrinter temporarily