lsst.cpputils g1ffd6c4751+d92be1c9b5
Public Member Functions | Static Public Member Functions | List of all members
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. More...
 

Detailed Description

Singleton, enables automatic backtraces on the following signals:

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: