14 #ifndef _HERRORMANAGER_H
15 #define _HERRORMANAGER_H
26 class HErrorDescriptorNode;
61 HErrorNode(
int category,
int specific,
int severity,
int msgc,
char const ** msgv,
int stackc,
char const ** stackv,
double time);
89 static struct vlist_s * m_ErrorList;
90 static struct vlist_s * m_UpdateErrorList;
91 static struct vlist_s * m_SuppressList;
92 static void (* m_pfError)(
HErrorNode *,
void *);
93 static void * m_UserData;
94 static bool * m_ErrorClass;
95 static bool m_bShowDialog;
96 static bool m_bDialogRunning;
97 static bool m_bBlocked;
98 static bool m_bInterrupted;
99 static bool m_bSpoolUpdateErrors;
108 static void Cleanup();
112 static void BeginErrorIteration();
121 static void DeleteLastError();
124 static void ShowAllErrors();
130 static void SpoolUpdateErrors();
144 static void SuppressError(
int severity,
int category,
int specific);
162 static void AllowAllErrors();
183 static void CallbackEntryPoint(
184 int category,
int specific,
int severity,
185 int msgc,
char const * msgv[],
int stackc,
char const * stackv[]);
The HErrorManager class handles all the error messaging in MVO.
Definition: HErrorManager.h:86
double m_time
The time that the error was generated in seconds.
Definition: HErrorManager.h:72
int severity
The level of seriousness of this error.
Definition: HErrorManager.h:37
int m_category
The category that this error falls under as described in #HC_Define_Error_Handler.
Definition: HErrorManager.h:68
int m_severity
The level of seriousness of this error.
Definition: HErrorManager.h:70
static void SetShowDialog(bool s)
Definition: HErrorManager.h:152
int m_specific
The specific error under the category as described in #HC_Define_Error_Handler.
Definition: HErrorManager.h:69
int category
The category that this error falls under as described in #HC_Define_Error_Handler.
Definition: HErrorManager.h:38
The HErrorNode class encapsulates error message information.
Definition: HErrorManager.h:46
int m_messagelength
The number of messages associated with this error.
Definition: HErrorManager.h:71
static bool GetShowDialog()
Definition: HErrorManager.h:158
char const ** m_stack
The list of functions that generated the error.
Definition: HErrorManager.h:75
static bool GetDialogRunning()
Definition: HErrorManager.h:165
char const ** m_message
The list messages associated with the error.
Definition: HErrorManager.h:73
static void SetErrorCallback(void(*err)(HErrorNode *, void *), void *user_data)
Definition: HErrorManager.h:133
int specific
The specific error under the category as described in #HC_Define_Error_Handler.
Definition: HErrorManager.h:39
static void SetSpoolUpdateErrors(bool s)
Definition: HErrorManager.h:155
The HSuppressInfo contains information used to identify which errors should be suppressed.
Definition: HErrorManager.h:29
int m_stacklength
The length of the call stack.
Definition: HErrorManager.h:74