Celeritas
0.5.0-56+6b053cd
|
Install a ROOT Error Handler to redirect the message toward the Celeritas Logger. More...
#include <ScopedRootErrorHandler.hh>
Public Member Functions | |
CELER_DELETE_COPY_MOVE (ScopedRootErrorHandler) | |
static void | disable_signal_handler () |
Clear ROOT's signal handlers that get installed on startup/activation. More... | |
ScopedRootErrorHandler () | |
Install the Celeritas ROOT error handler. | |
void | throw_if_errors () const |
Raise an exception if at least one error has been logged. More... | |
~ScopedRootErrorHandler () | |
Revert to the previous ROOT error handler. | |
Install a ROOT Error Handler to redirect the message toward the Celeritas Logger.
celeritas::ScopedRootErrorHandler::CELER_DELETE_COPY_MOVE | ( | ScopedRootErrorHandler | ) |
Prevent copying and moving for RAII class
|
inlinestatic |
Clear ROOT's signal handlers that get installed on startup/activation.
Do nothing if ROOT is disabled (source file will not be compiled)
|
inline |
Raise an exception if at least one error has been logged.
Clear the error flag while throwing.