RAII helper for automatic crash callback registration.
More...
#include <crash_handler.h>
RAII helper for automatic crash callback registration.
- Examples
- crash_protection/main.cpp.
Definition at line 200 of file crash_handler.h.
◆ scoped_crash_callback() [1/3]
| kcenon::thread::scoped_crash_callback::scoped_crash_callback |
( |
const std::string & | name, |
|
|
crash_callback | callback, |
|
|
int | priority = 100 ) |
|
inline |
Definition at line 202 of file crash_handler.h.
static crash_handler & instance()
Get the global crash handler instance.
@ callback
Call user callback for custom decision.
@ priority
Priority-based scheduling.
◆ ~scoped_crash_callback()
| kcenon::thread::scoped_crash_callback::~scoped_crash_callback |
( |
| ) |
|
|
inline |
◆ scoped_crash_callback() [2/3]
◆ scoped_crash_callback() [3/3]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ registration_id_
| size_t kcenon::thread::scoped_crash_callback::registration_id_ |
|
private |
The documentation for this class was generated from the following file: