18 #ifndef _HERRORMANAGER_H
19 #define _HERRORMANAGER_H
30 class HErrorDescriptorNode;
65 HErrorNode(
int category,
int specific,
int severity,
int msgc,
char **msgv,
int stackc,
char ** stackv,
double time);
93 static struct vlist_s * m_ErrorList;
94 static struct vlist_s * m_UpdateErrorList;
95 static struct vlist_s * m_SuppressList;
96 static void (* m_pfError)(
HErrorNode *,
void *);
97 static void * m_UserData;
98 static bool * m_ErrorClass;
99 static bool m_bShowDialog;
100 static bool m_bDialogRunning;
101 static bool m_bBlocked;
102 static bool m_bInterrupted;
103 static bool m_bSpoolUpdateErrors;
112 static void Cleanup();
116 static void BeginErrorIteration();
125 static void DeleteLastError();
128 static void ShowAllErrors();
134 static void SpoolUpdateErrors();
148 static void SuppressError(
int severity,
int category,
int specific);
166 static void AllowAllErrors();
187 static void CallbackEntryPoint(
188 int category,
int specific,
int severity,
189 int msgc,
char **msgv,
int stackc,
char **stackv
The HErrorManager class handles all the error messaging in MVO.
Definition: HErrorManager.h:90
double m_time
The time that the error was generated in seconds.
Definition: HErrorManager.h:76
int severity
The level of seriousness of this error.
Definition: HErrorManager.h:41
int m_category
The category that this error falls under as described in HC_Define_Error_Handler. ...
Definition: HErrorManager.h:72
int m_severity
The level of seriousness of this error.
Definition: HErrorManager.h:74
static void SetShowDialog(bool s)
Definition: HErrorManager.h:156
int m_specific
The specific error under the category as described in HC_Define_Error_Handler.
Definition: HErrorManager.h:73
int category
The category that this error falls under as described in HC_Define_Error_Handler. ...
Definition: HErrorManager.h:42
The HErrorNode class encapsulates error message information.
Definition: HErrorManager.h:50
char ** m_stack
The list of functions that generated the error.
Definition: HErrorManager.h:79
int m_messagelength
The number of messages associated with this error.
Definition: HErrorManager.h:75
static bool GetShowDialog()
Definition: HErrorManager.h:162
char ** m_message
The list messages associated with the error.
Definition: HErrorManager.h:77
static bool GetDialogRunning()
Definition: HErrorManager.h:169
static void SetErrorCallback(void(*err)(HErrorNode *, void *), void *user_data)
Definition: HErrorManager.h:137
int specific
The specific error under the category as described in HC_Define_Error_Handler.
Definition: HErrorManager.h:43
static void SetSpoolUpdateErrors(bool s)
Definition: HErrorManager.h:159
The HSuppressInfo contains information used to identify which errors should be suppressed.
Definition: HErrorManager.h:33
int m_stacklength
The length of the call stack.
Definition: HErrorManager.h:78