#include <G4Backtrace.hh>
|
static void | Handler (int, siginfo_t *, void *) |
|
static void | Message (int, siginfo_t *, std::ostream &) |
|
static void | ExitAction (int) |
|
static int | Enable (const std::string &) |
|
static int | Enable (const signal_set_t &=DefaultSignals()) |
|
static int | Disable (signal_set_t={}) |
|
static int | GetSignal (const std::string &) |
|
static std::string | Description (int) |
|
template<typename FuncT > |
static void | AddExitAction (FuncT &&) |
|
template<size_t Depth, size_t Offset = 0, typename FuncT = frame_func_t> |
static std::array< G4ResultOf_t< FuncT(const char *)>, Depth > | GetMangled (FuncT &&func=FrameFunctor()) |
|
template<size_t Depth, size_t Offset = 0, typename FuncT = frame_func_t> |
static std::array< G4ResultOf_t< FuncT(const char *)>, Depth > | GetDemangled (FuncT &&func=FrameFunctor()) |
|
static frame_func_t & | FrameFunctor () |
|
static signal_set_t & | DefaultSignals () |
|
static actions & | GetData () |
|
Definition at line 726 of file G4Backtrace.hh.
◆ exit_action_t
◆ frame_func_t
◆ sigaction_t
◆ siginfo_t
◆ signal_set_t
◆ AddExitAction()
template<typename FuncT >
static void G4Backtrace::AddExitAction |
( |
FuncT && |
| ) |
|
|
inlinestatic |
◆ DefaultSignals()
Definition at line 795 of file G4Backtrace.hh.
796 {
798 return _instance;
799 }
std::set< int > signal_set_t
◆ Description()
static std::string G4Backtrace::Description |
( |
int |
| ) |
|
|
inlinestatic |
◆ Disable()
◆ Enable() [1/2]
◆ Enable() [2/2]
static int G4Backtrace::Enable |
( |
const std::string & |
| ) |
|
|
inlinestatic |
◆ ExitAction()
static void G4Backtrace::ExitAction |
( |
int |
| ) |
|
|
inlinestatic |
◆ FrameFunctor()
Definition at line 788 of file G4Backtrace.hh.
789 {
791 return _instance;
792 }
std::function< G4String(const char *)> frame_func_t
◆ GetData()
static actions & G4Backtrace::GetData |
( |
| ) |
|
|
inlinestatic |
Definition at line 801 of file G4Backtrace.hh.
802 {
803 static auto _instance = actions{};
804 return _instance;
805 }
◆ GetDemangled()
template<size_t Depth, size_t Offset = 0, typename FuncT = frame_func_t>
static std::array< G4ResultOf_t< FuncT(const char *)>, Depth > G4Backtrace::GetDemangled |
( |
FuncT && |
func = FrameFunctor() | ) |
|
|
inlinestatic |
Definition at line 778 of file G4Backtrace.hh.
780 {
782 auto ret = std::array<type, Depth>{};
783 ret.fill(func(""));
784 return ret;
785 }
typename std::result_of< FuncT >::type G4ResultOf_t
◆ GetMangled()
template<size_t Depth, size_t Offset = 0, typename FuncT = frame_func_t>
static std::array< G4ResultOf_t< FuncT(const char *)>, Depth > G4Backtrace::GetMangled |
( |
FuncT && |
func = FrameFunctor() | ) |
|
|
inlinestatic |
Definition at line 768 of file G4Backtrace.hh.
770 {
772 auto ret = std::array<type, Depth>{};
773 ret.fill(func(""));
774 return ret;
775 }
◆ GetSignal()
static int G4Backtrace::GetSignal |
( |
const std::string & |
| ) |
|
|
inlinestatic |
◆ Handler()
static void G4Backtrace::Handler |
( |
int |
, |
|
|
siginfo_t * |
, |
|
|
void * |
|
|
) |
| |
|
inlinestatic |
◆ Message()
static void G4Backtrace::Message |
( |
int |
, |
|
|
siginfo_t * |
, |
|
|
std::ostream & |
|
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: