Event occurs on engine fatal error.
More...
#include <DGLE.h>
Event occurs on engine fatal error.
Also application errors such as "Access Violation" are handled by this event if EIF_CATCH_UNHANDLED flag is set in IEngineCore::InitializeEngine initialization flags. By handling this event
- See Also
- ET_ON_ENGINE_FATAL_MESSAGE, LT_FATAL, IBaseEvent
Forces engine to ignore current error and tries to continue.
- Warning
- Use with care.
Forces engine not to show error message and console.
- Note
- If you decided not to show error message you should inform user about error somehow.
virtual DGLE_RESULT DGLE_API FreezeEngine |
( |
bool |
bFreeze | ) |
|
|
pure virtual |
Suspends all engine threads and pauses all engine routines.
- Parameters
-
[in] | bFreeze | Suspends if true or resumes if false engine threads and routines. |
virtual DGLE_RESULT DGLE_API GetMessageText |
( |
char * |
pcTxt, |
|
|
uint & |
uiCharsCount |
|
) |
| |
|
pure virtual |
Returns the fatal message text.
- Parameters
-
[out] | pcTxt | Pointer to allocated string. |
[in,out] | uiCharsCount | Count of the chars in allocated string. |
- Returns
- E_INVALIDARG must be returned if allocated string is too small.
- Note
- If pcTxt is NULL then uiCharsCount will contain the length of the text to allocate.