|
Unravel Engine C++ Reference
|
Classes | |
| struct | crash_handlers |
| struct | exception_info |
| Exception information structure More... | |
| struct | signal_info |
| Signal information structure. More... | |
| struct | trace_info |
| Stack trace information. More... | |
Typedefs | |
| using | interrupt_handler_t = void(*)(const signal_info& info) |
| using | termination_handler_t = void(*)(const signal_info& info) |
| using | crash_handler_t = void(*)(const signal_info& info, const trace_info& trace) |
| using | exception_handler_t = void(*)(const exception_info& info, const trace_info& trace) |
Enumerations | |
| enum class | signal_type { interrupt , termination , crash } |
Functions | |
| auto | get_signal_name (int sig) noexcept -> std::string_view |
| auto | is_crash_signal (int sig) noexcept -> bool |
| auto | signal_handler (int sig) -> void |
| auto | set_interrupt_handler (interrupt_handler_t handler) -> void |
| auto | set_termination_handler (termination_handler_t handler) -> void |
| auto | set_crash_handler (crash_handler_t handler) -> void |
| auto | set_exception_handler (exception_handler_t handler) -> void |
| auto | get_signal_type (int sig) noexcept -> signal_type |
| void | terminate_handler () |
| void | register_terminate_handler () |
| auto | install_handlers (const crash_handlers &handlers) -> void |
| Install comprehensive crash handlers. | |
| using unravel::crash::crash_handler_t = void(*)(const signal_info& info, const trace_info& trace) |
| using unravel::crash::exception_handler_t = void(*)(const exception_info& info, const trace_info& trace) |
| using unravel::crash::interrupt_handler_t = void(*)(const signal_info& info) |
| using unravel::crash::termination_handler_t = void(*)(const signal_info& info) |
|
strong |
|
noexcept |
|
noexcept |
| auto unravel::crash::install_handlers | ( | const crash_handlers & | handlers | ) | -> void |
|
noexcept |
| auto unravel::crash::set_crash_handler | ( | crash_handler_t | handler | ) | -> void |
| auto unravel::crash::set_exception_handler | ( | exception_handler_t | handler | ) | -> void |
| auto unravel::crash::set_interrupt_handler | ( | interrupt_handler_t | handler | ) | -> void |
| auto unravel::crash::set_termination_handler | ( | termination_handler_t | handler | ) | -> void |