Trace Struct Reference

#include <ArmarXCore/util/CPPUtility/trace.h>

Public Member Functions

bool exceptional () const
 
 ~Trace ()
 

Static Public Member Functions

static void ClearExceptionBacktrace ()
 
static std::uintmax_t GetStackTraceSize ()
 
static void PrintExceptionBacktrace (std::ostream &out, const std::string &pre="")
 
static void PrintStackTrace (std::ostream &out, const std::string &pre="")
 

Public Attributes

const LocationProvider location
 
const Traceparent
 
const int uncaughtExceptions
 

Protected Member Functions

 Trace (LocationProvider::FncLoc l)
 

Detailed Description

Definition at line 24 of file trace.h.

Constructor & Destructor Documentation

◆ Trace()

Trace ( LocationProvider::FncLoc  l)
inlineprotected

Definition at line 53 of file trace.h.

◆ ~Trace()

~Trace ( )

Definition at line 95 of file trace.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ ClearExceptionBacktrace()

void ClearExceptionBacktrace ( )
static

Definition at line 90 of file trace.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ exceptional()

bool exceptional ( ) const
inline

Definition at line 63 of file trace.h.

+ Here is the caller graph for this function:

◆ GetStackTraceSize()

static std::uintmax_t GetStackTraceSize ( )
inlinestatic

Definition at line 45 of file trace.h.

◆ PrintExceptionBacktrace()

void PrintExceptionBacktrace ( std::ostream &  out,
const std::string &  pre = "" 
)
static

Definition at line 195 of file trace.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PrintStackTrace()

void PrintStackTrace ( std::ostream &  out,
const std::string &  pre = "" 
)
static

Definition at line 162 of file trace.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ location

const LocationProvider location

Definition at line 32 of file trace.h.

◆ parent

const Trace* parent

Definition at line 30 of file trace.h.

◆ uncaughtExceptions

const int uncaughtExceptions

Definition at line 31 of file trace.h.


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