lsst.cpputils g87389fa792+2df283593c
Loading...
Searching...
No Matches
lsst::cpputils::Backtrace Class Referencefinal

Singleton, enables automatic backtraces on the following signals: More...

#include <Backtrace.h>

Public Member Functions

 Backtrace (Backtrace const &)=delete
 
 Backtrace (Backtrace &&)=delete
 
Backtraceoperator= (Backtrace const &)=delete
 
Backtraceoperator= (Backtrace &&)=delete
 
bool const isEnabled () const noexcept
 

Static Public Member Functions

static Backtraceget () noexcept
 Get a reference to the singleton.
 

Detailed Description

Singleton, enables automatic backtraces on the following signals:

  • SIGABRT
  • SIGSEGV
  • SIGILL
  • SIGFPE
Note
Uses low level malloc and fprintf since higher level constructs may not be available when a signal is received.

Definition at line 42 of file Backtrace.h.

Constructor & Destructor Documentation

◆ Backtrace() [1/2]

lsst::cpputils::Backtrace::Backtrace ( Backtrace const & )
delete

◆ Backtrace() [2/2]

lsst::cpputils::Backtrace::Backtrace ( Backtrace && )
delete

Member Function Documentation

◆ get()

static Backtrace & lsst::cpputils::Backtrace::get ( )
inlinestaticnoexcept

Get a reference to the singleton.

Definition at line 51 of file Backtrace.h.

◆ isEnabled()

bool const lsst::cpputils::Backtrace::isEnabled ( ) const
inlinenoexcept

Definition at line 56 of file Backtrace.h.

◆ operator=() [1/2]

Backtrace & lsst::cpputils::Backtrace::operator= ( Backtrace && )
delete

◆ operator=() [2/2]

Backtrace & lsst::cpputils::Backtrace::operator= ( Backtrace const & )
delete

The documentation for this class was generated from the following files: