#include <G4Backtrace.hh>
|
static void | Handler (G4int, siginfo_t *, void *) |
|
static void | Message (G4int, siginfo_t *, std::ostream &) |
|
static void | ExitAction (G4int) |
|
static G4int | Enable (const std::string &) |
|
static G4int | Enable (const signal_set_t &=DefaultSignals()) |
|
static G4int | Disable (signal_set_t={}) |
|
static G4int | GetSignal (const std::string &) |
|
static std::string | Description (G4int) |
|
template<typename FuncT > |
static void | AddExitAction (FuncT &&) |
|
template<std::size_t Depth, std::size_t Offset = 0, typename FuncT = frame_func_t> |
static std::array< G4ResultOf_t< FuncT, const char * >, Depth > | GetMangled (FuncT &&func=FrameFunctor()) |
|
template<std::size_t Depth, std::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 725 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 794 of file G4Backtrace.hh.
795 {
797 return _instance;
798 }
std::set< G4int > signal_set_t
◆ Description()
static std::string G4Backtrace::Description |
( |
G4int | | ) |
|
|
inlinestatic |
◆ Disable()
◆ Enable() [1/2]
◆ Enable() [2/2]
static G4int G4Backtrace::Enable |
( |
const std::string & | | ) |
|
|
inlinestatic |
◆ ExitAction()
static void G4Backtrace::ExitAction |
( |
G4int | | ) |
|
|
inlinestatic |
◆ FrameFunctor()
Definition at line 787 of file G4Backtrace.hh.
788 {
790 return _instance;
791 }
std::function< G4String(const char *)> frame_func_t
◆ GetData()
static actions & G4Backtrace::GetData |
( |
| ) |
|
|
inlinestatic |
Definition at line 800 of file G4Backtrace.hh.
801 {
802 static auto _instance = actions{};
803 return _instance;
804 }
◆ GetDemangled()
template<std::size_t Depth, std::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 777 of file G4Backtrace.hh.
779 {
781 auto ret = std::array<type, Depth>{};
782 ret.fill(func(""));
783 return ret;
784 }
std::invoke_result_t< FuncT, ArgTypes... > G4ResultOf_t
◆ GetMangled()
template<std::size_t Depth, std::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 767 of file G4Backtrace.hh.
769 {
771 auto ret = std::array<type, Depth>{};
772 ret.fill(func(""));
773 return ret;
774 }
◆ GetSignal()
static G4int G4Backtrace::GetSignal |
( |
const std::string & | | ) |
|
|
inlinestatic |
◆ Handler()
◆ Message()
static void G4Backtrace::Message |
( |
G4int | , |
|
|
siginfo_t * | , |
|
|
std::ostream & | ) |
|
inlinestatic |
The documentation for this class was generated from the following file: