automotive-dlt
|
Go to the source code of this file.
Macros | |
#define | DLT_LOG_CXX(CONTEXT, LOGLEVEL, ...) |
macro to write a log message with variable number of arguments and without the need to specify the type of log data More... | |
#define | DLT_LOG_FCN_CXX(CONTEXT, LOGLEVEL, ...) |
macro to write a log message with variable number of arguments and without the need to specify the type of log data. More... | |
Functions | |
template<typename T > | |
int32_t | logToDlt (DltContextData &log, T const &value)=delete |
template<> | |
int32_t | logToDlt (DltContextData &log, int8_t const &value) |
template<> | |
int32_t | logToDlt (DltContextData &log, int16_t const &value) |
template<> | |
int32_t | logToDlt (DltContextData &log, int32_t const &value) |
template<> | |
int32_t | logToDlt (DltContextData &log, int64_t const &value) |
template<> | |
int32_t | logToDlt (DltContextData &log, uint8_t const &value) |
template<> | |
int32_t | logToDlt (DltContextData &log, uint16_t const &value) |
template<> | |
int32_t | logToDlt (DltContextData &log, uint32_t const &value) |
template<> | |
int32_t | logToDlt (DltContextData &log, uint64_t const &value) |
template<> | |
int32_t | logToDlt (DltContextData &log, float32_t const &value) |
template<> | |
int32_t | logToDlt (DltContextData &log, double const &value) |
template<> | |
int32_t | logToDlt (DltContextData &log, bool const &value) |
static int32_t | logToDlt (DltContextData &log, char const *const value) |
static int32_t | logToDlt (DltContextData &log, char *const value) |
template<> | |
int32_t | logToDlt (DltContextData &log, std::string const &value) |
template<typename _Tp , typename _Alloc = std::allocator<_Tp>> | |
static int32_t | logToDlt (DltContextData &log, std::vector< _Tp, _Alloc > const &value) |
template<typename _Tp , typename _Alloc = std::allocator<_Tp>> | |
static int32_t | logToDlt (DltContextData &log, std::list< _Tp, _Alloc > const &value) |
template<typename _Key , typename _Tp , typename _Compare = std::less<_Key>, typename _Alloc = std::allocator<std::pair<const _Key, _Tp>>> | |
static int32_t | logToDlt (DltContextData &log, std::map< _Key, _Tp, _Compare, _Alloc > const &value) |
template<typename First > | |
static int32_t | logToDltVariadic (DltContextData &log, First const &valueA) |
template<typename First , typename... Rest> | |
static int32_t | logToDltVariadic (DltContextData &log, First const &valueA, const Rest &...valueB) |
Definition in file dlt_cpp_extension.hpp.
#define DLT_LOG_CXX | ( | CONTEXT, | |
LOGLEVEL, | |||
... | |||
) |
macro to write a log message with variable number of arguments and without the need to specify the type of log data
The macro can be used with any type that provides a logToDlt function.
Example: DLT_LOG_CXX(dltContext, DLT_LV_X, "text", valueA, valueB, ...)
Definition at line 198 of file dlt_cpp_extension.hpp.
#define DLT_LOG_FCN_CXX | ( | CONTEXT, | |
LOGLEVEL, | |||
... | |||
) |
macro to write a log message with variable number of arguments and without the need to specify the type of log data.
The macro can be used with any type that provides a logToDlt function. This includes all the types that are code generated.
This macro is similar to DLT_LOG_CXX
. However, it adds the current function name as the first log argument.
Example: DLT_LOG_FCN_CXX(dltContext, DLT_LV_X, "text", valueA, valueB, ...)
Definition at line 221 of file dlt_cpp_extension.hpp.
|
delete |
Referenced by logToDlt(), and logToDltVariadic().
|
inline |
Definition at line 41 of file dlt_cpp_extension.hpp.
References dlt_user_log_write_int8().
|
inline |
Definition at line 47 of file dlt_cpp_extension.hpp.
References dlt_user_log_write_int16().
|
inline |
Definition at line 53 of file dlt_cpp_extension.hpp.
References dlt_user_log_write_int32().
|
inline |
Definition at line 59 of file dlt_cpp_extension.hpp.
References dlt_user_log_write_int64().
|
inline |
Definition at line 65 of file dlt_cpp_extension.hpp.
References dlt_user_log_write_uint8().
|
inline |
Definition at line 71 of file dlt_cpp_extension.hpp.
References dlt_user_log_write_uint16().
|
inline |
Definition at line 77 of file dlt_cpp_extension.hpp.
References dlt_user_log_write_uint32().
|
inline |
Definition at line 83 of file dlt_cpp_extension.hpp.
References dlt_user_log_write_uint64().
|
inline |
Definition at line 89 of file dlt_cpp_extension.hpp.
References dlt_user_log_write_float32().
|
inline |
Definition at line 95 of file dlt_cpp_extension.hpp.
References dlt_user_log_write_float64().
|
inline |
Definition at line 101 of file dlt_cpp_extension.hpp.
References dlt_user_log_write_bool().
|
inlinestatic |
Definition at line 106 of file dlt_cpp_extension.hpp.
References dlt_user_log_write_utf8_string().
|
inlinestatic |
Definition at line 111 of file dlt_cpp_extension.hpp.
References dlt_user_log_write_utf8_string().
|
inline |
Definition at line 117 of file dlt_cpp_extension.hpp.
References dlt_user_log_write_utf8_string(), and logToDlt().
|
inlinestatic |
Definition at line 127 of file dlt_cpp_extension.hpp.
References logToDlt().
|
inlinestatic |
Definition at line 141 of file dlt_cpp_extension.hpp.
References logToDlt().
|
inlinestatic |
Definition at line 156 of file dlt_cpp_extension.hpp.
References logToDlt().
|
inlinestatic |
Definition at line 174 of file dlt_cpp_extension.hpp.
References logToDlt().
Referenced by logToDltVariadic().
|
inlinestatic |
Definition at line 180 of file dlt_cpp_extension.hpp.
References logToDlt(), and logToDltVariadic().