27 #ifndef DLT_CPP_EXTENSION_HPP 28 #define DLT_CPP_EXTENSION_HPP 126 template<
typename _Tp,
typename _Alloc = std::allocator<_Tp>>
131 for (
auto elem : value)
140 template<
typename _Tp,
typename _Alloc = std::allocator<_Tp>>
145 for (
auto elem : value)
154 template<
typename _Key,
typename _Tp,
typename _Compare = std::less<_Key>,
155 typename _Alloc = std::allocator<std::pair<const _Key, _Tp>>>
160 for (
auto elem : value)
162 result +=
logToDlt(log, elem.first);
163 result +=
logToDlt(log, elem.second);
173 template<
typename First>
179 template<
typename First,
typename ... Rest>
198 #define DLT_LOG_CXX(CONTEXT, LOGLEVEL, ...)\ 202 if (dlt_user_log_write_start(&CONTEXT,&log,LOGLEVEL)>0)\ 204 logToDltVariadic(log, ##__VA_ARGS__);\ 205 dlt_user_log_write_finish(&log);\ 221 #define DLT_LOG_FCN_CXX(CONTEXT, LOGLEVEL, ...) \ 225 if (dlt_user_log_write_start(&CONTEXT, &log, LOGLEVEL) > 0)\ 227 dlt_user_log_write_string(&log, __PRETTY_FUNCTION__);\ 228 logToDltVariadic(log, ##__VA_ARGS__);\ 229 dlt_user_log_write_finish(&log);\ DltReturnValue dlt_user_log_write_float32(DltContextData *log, float32_t data)
DltReturnValue dlt_user_log_write_int16(DltContextData *log, int16_t data)
DltReturnValue dlt_user_log_write_int32(DltContextData *log, int32_t data)
DltReturnValue dlt_user_log_write_utf8_string(DltContextData *log, const char *text)
DltReturnValue dlt_user_log_write_int64(DltContextData *log, int64_t data)
DltReturnValue dlt_user_log_write_uint8(DltContextData *log, uint8_t data)
DltReturnValue dlt_user_log_write_uint32(DltContextData *log, uint32_t data)
DltReturnValue dlt_user_log_write_int8(DltContextData *log, int8_t data)
int32_t logToDlt(DltContextData &log, T const &value)=delete
static int32_t logToDltVariadic(DltContextData &log, First const &valueA)
DltReturnValue dlt_user_log_write_uint64(DltContextData *log, uint64_t data)
DltReturnValue dlt_user_log_write_uint16(DltContextData *log, uint16_t data)
DltReturnValue dlt_user_log_write_bool(DltContextData *log, uint8_t data)
DltReturnValue dlt_user_log_write_float64(DltContextData *log, float64_t data)