34#include <NDEVR/Exception.h>
35#include <NDEVR/SoftwareService.h>
36#include <NDEVR/File.h>
Handles crashes and can be used to write crash reports, etc On Windows this class can be used to crea...
Definition CrashManager.h:46
bool setAsTopLevelExceptionHandler()
static CrashManager * CurrentCrashManager()
std::function< void(const Exception &)> m_callback
Definition CrashManager.h:61
void setMiniDumpDirectory(const File &file)
Definition CrashManager.h:58
bool handleException(void *e)
void setCallback(std::function< void(const Exception &)> callback)
Definition CrashManager.h:57
File m_minidump_directory
Definition CrashManager.h:62
bool recordAllExceptions() const
Definition CrashManager.h:52
Provides consistent interface to handle errors through the throw expression. All exceptions generated...
Definition Exception.hpp:47
Logic for reading or writing to a file as well as navigating filesystems.
Definition File.h:48
Software Services provide an interface for adding to or changing the software behavior via functional...
Definition SoftwareService.h:9
Software Service Managers take a Software service to modify the behavior of the software.
Definition SoftwareService.h:15
CrashManager * g_crash_manager