Class CrashHandler#
- Defined in File CrashHandler.h 
Class Documentation#
- 
class CrashHandler#
- RAII wrapper class for exception handlers. - Public Functions - 
template<typename F>
 explicit CrashHandler(const F &crashHandler)#
- Constructors. Sets the user provided exception handler function. - Note - The function signature differs between operating systems. - Parameters:
- crashHandler – Exception handler function to use. 
 
 - 
CrashHandler()#
- Constructor. This sets the default TRAP exception handlers. The default exception handlers add exception information to the engine log file and then save it to disk. 
 - 
~CrashHandler()#
- Destructor. Removes currently set exception handlers. Sets previous handlers if there were any. 
 - 
consteval CrashHandler(const CrashHandler&) = delete#
- Copy constructor. 
 - 
consteval CrashHandler(CrashHandler&&) noexcept = delete#
- Move constructor. 
 - 
consteval CrashHandler &operator=(const CrashHandler&) = delete#
- Copy assignment operator. 
 - 
consteval CrashHandler &operator=(CrashHandler&&) noexcept = delete#
- Move assignment operator. 
 
- 
template<typename F>