trace.cpp File Reference
#include "trace.h"
#include <iostream>
#include <iomanip>
#include <cmath>
#include <deque>
#include <memory>
+ Include dependency graph for trace.cpp:

Go to the source code of this file.

Classes

struct  ExceptionBacktraceTree
 

Namespaces

 armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
 armarx::detail
 

Macros

#define ACTIVATE_TRACE_LIB_TERMINATE_ON_INTERNAL_ERROR
 
#define TerminateIf(...)
 

Functions

std::ostream & operator<< (std::ostream &out, const LocationProvider &t)
 
std::ostream & operator<< (std::ostream &out, const LocationProvider::Location &l)
 
std::ostream & operator<< (std::ostream &out, const Trace &t)
 

Macro Definition Documentation

◆ ACTIVATE_TRACE_LIB_TERMINATE_ON_INTERNAL_ERROR

#define ACTIVATE_TRACE_LIB_TERMINATE_ON_INTERNAL_ERROR

Definition at line 12 of file trace.cpp.

◆ TerminateIf

#define TerminateIf (   ...)
Value:
{ \
if(__VA_ARGS__) \
{ \
std::cerr << "TERMINATING!:\n (" \
<< #__VA_ARGS__ << ") == true\n " \
<< "'" << BOOST_CURRENT_FUNCTION \
<< "' @ " << __LINE__ \
<< " in '" << __FILE__ << "'\n " \
<< "Stack Trace:\n"; \
Trace::PrintStackTrace(std::cerr, " "); \
std::cerr << std::flush; \
} \
} do{}while(false)

Definition at line 14 of file trace.cpp.

armarx::flush
const LogSender::manipulator flush
Definition: LogSender.h:251
boost::process::posix::terminate
void terminate(const Process &p)
Definition: terminate.hpp:20