#include <boost/current_function.hpp>
#include <iosfwd>
#include <cstdint>
#include <string>
Go to the source code of this file.
|
#define | _detail_TRACE(fi, li, var) |
|
#define | _detail_TRACE_expand(...) _detail_TRACE_mk_var(__VA_ARGS__) |
|
#define | _detail_TRACE_mk_var(fi, li, cnt) _detail_TRACE(fi, li, _detail_trace_variable_ ## cnt ## _ ## li) |
|
#define | _detail_TRACElite_expand(...) _detail_TRACElite_mk_var(__VA_ARGS__) |
|
#define | _detail_TRACElite_f(fi, li, var) |
|
#define | _detail_TRACElite_mk_var(fi, li, cnt) _detail_TRACElite_f(fi, li, _detail_trace_variable_ ## cnt ## _ ## li) |
|
#define | ARMARX_TRACE _detail_TRACE_expand(__FILE__, __LINE__, __COUNTER__) |
|
#define | ARMARX_TRACE_LITE _detail_TRACElite_expand(__FILE__, __LINE__, __COUNTER__) |
|
◆ _detail_TRACE
#define _detail_TRACE |
( |
|
fi, |
|
|
|
li, |
|
|
|
var |
|
) |
| |
Value: static constexpr auto var ## _cfunc = BOOST_CURRENT_FUNCTION; \
{ \
var ## TraceType() :
Trace{var ## TraceType::Location} {} \
} var
Definition at line 72 of file trace.h.
◆ _detail_TRACE_expand
◆ _detail_TRACE_mk_var
#define _detail_TRACE_mk_var |
( |
|
fi, |
|
|
|
li, |
|
|
|
cnt |
|
) |
| _detail_TRACE(fi, li, _detail_trace_variable_ ## cnt ## _ ## li) |
◆ _detail_TRACElite_expand
◆ _detail_TRACElite_f
#define _detail_TRACElite_f |
( |
|
fi, |
|
|
|
li, |
|
|
|
var |
|
) |
| |
Value:
{ \
var ## TraceType(const ::armarx::LogSender&) :
Trace{var ## TraceType::Location} {} \
var ## TraceType() :
Trace{var ## TraceType::Location} {} \
} var
Definition at line 88 of file trace.h.
◆ _detail_TRACElite_mk_var
#define _detail_TRACElite_mk_var |
( |
|
fi, |
|
|
|
li, |
|
|
|
cnt |
|
) |
| _detail_TRACElite_f(fi, li, _detail_trace_variable_ ## cnt ## _ ## li) |
◆ ARMARX_TRACE
◆ ARMARX_TRACE_LITE