automotive-dlt
dlt_user_macros.h File Reference
#include "dlt_version.h"
Include dependency graph for dlt_user_macros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DLT_DECLARE_CONTEXT(CONTEXT)   DltContext CONTEXT;
 
#define DLT_IMPORT_CONTEXT(CONTEXT)   extern DltContext CONTEXT;
 
#define DLT_REGISTER_APP(APPID, DESCRIPTION)
 
#define DLT_UNREGISTER_APP()
 
#define DLT_REGISTER_CONTEXT(CONTEXT, CONTEXTID, DESCRIPTION)
 
#define DLT_REGISTER_CONTEXT_LL_TS(CONTEXT, CONTEXTID, DESCRIPTION, LOGLEVEL, TRACESTATUS)
 
#define DLT_UNREGISTER_CONTEXT(CONTEXT)
 
#define DLT_REGISTER_INJECTION_CALLBACK(CONTEXT, SERVICEID, CALLBACK)
 
#define DLT_REGISTER_LOG_LEVEL_CHANGED_CALLBACK(CONTEXT, CALLBACK)
 
#define DLT_LOG(CONTEXT, LOGLEVEL, ARGS...)
 
#define DLT_LOG_ID(CONTEXT, LOGLEVEL, MSGID, ARGS...)
 
#define DLT_STRING(TEXT)   (void)dlt_user_log_write_string(&log_local,TEXT)
 
#define DLT_CSTRING(TEXT)   (void)dlt_user_log_write_constant_string(&log_local,TEXT)
 
#define DLT_UTF8(TEXT)   (void)dlt_user_log_write_utf8_string(&log_local,TEXT)
 
#define DLT_BOOL(BOOL_VAR)   (void)dlt_user_log_write_bool(&log_local,BOOL_VAR)
 
#define DLT_FLOAT32(FLOAT32_VAR)   (void)dlt_user_log_write_float32(&log_local,FLOAT32_VAR)
 
#define DLT_FLOAT64(FLOAT64_VAR)   (void)dlt_user_log_write_float64(&log_local,FLOAT64_VAR)
 
#define DLT_INT(INT_VAR)   (void)dlt_user_log_write_int(&log_local,INT_VAR)
 
#define DLT_INT8(INT_VAR)   (void)dlt_user_log_write_int8(&log_local,INT_VAR)
 
#define DLT_INT16(INT_VAR)   (void)dlt_user_log_write_int16(&log_local,INT_VAR)
 
#define DLT_INT32(INT_VAR)   (void)dlt_user_log_write_int32(&log_local,INT_VAR)
 
#define DLT_INT64(INT_VAR)   (void)dlt_user_log_write_int64(&log_local,INT_VAR)
 
#define DLT_UINT(UINT_VAR)   (void)dlt_user_log_write_uint(&log_local,UINT_VAR)
 
#define DLT_UINT8(UINT_VAR)   (void)dlt_user_log_write_uint8(&log_local,UINT_VAR)
 
#define DLT_UINT16(UINT_VAR)   (void)dlt_user_log_write_uint16(&log_local,UINT_VAR)
 
#define DLT_UINT32(UINT_VAR)   (void)dlt_user_log_write_uint32(&log_local,UINT_VAR)
 
#define DLT_UINT64(UINT_VAR)   (void)dlt_user_log_write_uint64(&log_local,UINT_VAR)
 
#define DLT_RAW(BUF, LEN)   (void)dlt_user_log_write_raw(&log_local,BUF,LEN)
 
#define DLT_HEX8(UINT_VAR)   (void)dlt_user_log_write_uint8_formatted(&log_local,UINT_VAR,DLT_FORMAT_HEX8)
 
#define DLT_HEX16(UINT_VAR)   (void)dlt_user_log_write_uint16_formatted(&log_local,UINT_VAR,DLT_FORMAT_HEX16)
 
#define DLT_HEX32(UINT_VAR)   (void)dlt_user_log_write_uint32_formatted(&log_local,UINT_VAR,DLT_FORMAT_HEX32)
 
#define DLT_HEX64(UINT_VAR)   (void)dlt_user_log_write_uint64_formatted(&log_local,UINT_VAR,DLT_FORMAT_HEX64)
 
#define DLT_BIN8(UINT_VAR)   (void)dlt_user_log_write_uint8_formatted(&log_local,UINT_VAR,DLT_FORMAT_BIN8)
 
#define DLT_BIN16(UINT_VAR)   (void)dlt_user_log_write_uint16_formatted(&log_local,UINT_VAR,DLT_FORMAT_BIN16)
 
#define DLT_PTR(PTR_VAR)   (void)dlt_user_log_write_ptr(&log_local, PTR_VAR)
 
#define DLT_TRACE_NETWORK(CONTEXT, TYPE, HEADERLEN, HEADER, PAYLOADLEN, PAYLOAD)
 
#define DLT_TRACE_NETWORK_TRUNCATED(CONTEXT, TYPE, HEADERLEN, HEADER, PAYLOADLEN, PAYLOAD)
 
#define DLT_TRACE_NETWORK_SEGMENTED(CONTEXT, TYPE, HEADERLEN, HEADER, PAYLOADLEN, PAYLOAD)
 
#define DLT_LOG_STRING(CONTEXT, LOGLEVEL, TEXT)
 
#define DLT_LOG_STRING_INT(CONTEXT, LOGLEVEL, TEXT, INT_VAR)
 
#define DLT_LOG_STRING_UINT(CONTEXT, LOGLEVEL, TEXT, UINT_VAR)
 
#define DLT_LOG_UINT(CONTEXT, LOGLEVEL, UINT_VAR)
 
#define DLT_LOG_INT(CONTEXT, LOGLEVEL, INT_VAR)
 
#define DLT_LOG_RAW(CONTEXT, LOGLEVEL, BUF, LEN)
 
#define DLT_LOG_MARKER()
 
#define DLT_VERBOSE_MODE()
 
#define DLT_NONVERBOSE_MODE()
 
#define DLT_SET_APPLICATION_LL_TS_LIMIT(LOGLEVEL, TRACESTATUS)
 
#define DLT_ENABLE_LOCAL_PRINT()
 
#define DLT_DISABLE_LOCAL_PRINT()
 
#define DLT_IS_LOG_LEVEL_ENABLED(CONTEXT, LOGLEVEL)   (dlt_user_is_logLevel_enabled(&CONTEXT,LOGLEVEL) == DLT_RETURN_TRUE)
 

Detailed Description

Author
Alexander Wenzel alexa.nosp@m.nder.nosp@m..aw.w.nosp@m.enze.nosp@m.l@bmw.nosp@m..de

Definition in file dlt_user_macros.h.