VAPOR3 3.9.4
Classes | Macros
ErrorReporter.h File Reference
#include <string>
#include <vector>
#include "vapor/VAssert.h"
#include <QMessageBox>

Go to the source code of this file.

Classes

class  ErrorReporterPopup
 A helper class for ErrorReporter that is neccessary because the Qt gui is in a separate thread. More...
 
class  ErrorReporter
 A utility singleton class that provides error reporting functinality. More...
 
struct  ErrorReporter::Message
 

Macros

#define ERRORREPORTER_DEFAULT_MESSAGE   "The action failed"
 
#define MSG_ERR(M)   (ErrorReporter::GetInstance()->Report(M, ErrorReporter::Error))
 
#define MSG_WARN(M)   (ErrorReporter::GetInstance()->Report(M, ErrorReporter::Warning))
 
#define MSG_DIAG(M)   (ErrorReporter::GetInstance()->Report(M, ErrorReporter::Diagnostic))
 
#define MSG_FATAL(M)   (ErrorReporter::GetInstance()->Report(M, ErrorReporter::Fatal))
 

Macro Definition Documentation

◆ ERRORREPORTER_DEFAULT_MESSAGE

#define ERRORREPORTER_DEFAULT_MESSAGE   "The action failed"

Definition at line 58 of file ErrorReporter.h.

◆ MSG_DIAG

#define MSG_DIAG (   M)    (ErrorReporter::GetInstance()->Report(M, ErrorReporter::Diagnostic))

Definition at line 74 of file ErrorReporter.h.

◆ MSG_ERR

#define MSG_ERR (   M)    (ErrorReporter::GetInstance()->Report(M, ErrorReporter::Error))

ErrorReporter class provides error reporting functionality. Registers error callbacks with MyBase and registers signal handler for SIGSEGV

Definition at line 70 of file ErrorReporter.h.

◆ MSG_FATAL

#define MSG_FATAL (   M)    (ErrorReporter::GetInstance()->Report(M, ErrorReporter::Fatal))

Definition at line 76 of file ErrorReporter.h.

◆ MSG_WARN

#define MSG_WARN (   M)    (ErrorReporter::GetInstance()->Report(M, ErrorReporter::Warning))

Definition at line 72 of file ErrorReporter.h.