Plasma Engine  2.0
Loading...
Searching...
No Matches
plCrashHandler Class Referenceabstract

Helper class to manage the top level exception handler. More...

#include <CrashHandler.h>

Inheritance diagram for plCrashHandler:

Public Member Functions

virtual void HandleCrash (void *pOsSpecificData)=0
 

Static Public Member Functions

static void SetCrashHandler (plCrashHandler *pHandler)
 
static plCrashHandlerGetCrashHandler ()
 

Detailed Description

Helper class to manage the top level exception handler.

A default exception handler is provided but not set by default. The default implementation will write the exception and callstack to the output and create a memory dump using WriteDump that create a dump file in the folder specified via SetExceptionHandler.

This class allows to hook into the OS top-level exception handler to handle application crashes

Derive from this class to implement custom behavior. Call plCrashHandler::SetCrashHandler() to register which instance to use.

For typical use-cases use plCrashHandler_WriteMiniDump::g_Instance.


The documentation for this class was generated from the following files: