automotive-dlt
|
#include <dlt_user.h>
Data Fields | |
char | ecuID [DLT_ID_SIZE] |
char | appID [DLT_ID_SIZE] |
int | dlt_log_handle |
int | dlt_user_handle |
mqd_t | dlt_segmented_queue_read_handle |
mqd_t | dlt_segmented_queue_write_handle |
pthread_t | dlt_segmented_nwt_handle |
int8_t | dlt_is_file |
dlt_ll_ts_type * | dlt_ll_ts |
uint32_t | dlt_ll_ts_max_num_entries |
uint32_t | dlt_ll_ts_num_entries |
int8_t | overflow |
uint32_t | overflow_counter |
char * | application_description |
DltReceiver | receiver |
int8_t | verbose_mode |
int8_t | use_extende_header_for_non_verbose |
int8_t | with_session_id |
int8_t | with_timestamp |
int8_t | with_ecu_id |
int8_t | enable_local_print |
int8_t | local_print_mode |
int8_t | log_state |
DltBuffer | startup_buffer |
uint8_t | resend_buffer [DLT_USER_RESENDBUF_MAX_SIZE] |
uint32_t | timeout_at_exit_handler |
dlt_env_ll_set | initial_ll_set |
This structure is used once for one application.
Definition at line 184 of file dlt_user.h.
char DltUser::appID[DLT_ID_SIZE] |
Application ID
Definition at line 187 of file dlt_user.h.
Referenced by dlt_init_common(), dlt_register_app(), dlt_register_context_ll_ts(), dlt_set_application_ll_ts_limit(), dlt_unregister_app(), dlt_user_log_reattach_to_daemon(), dlt_user_log_resend_buffer(), dlt_user_log_send_log(), dlt_user_log_send_overflow(), dlt_user_log_send_register_application(), dlt_user_log_send_register_context(), dlt_user_log_send_unregister_application(), and dlt_user_log_send_unregister_context().
char* DltUser::application_description |
description of application
Definition at line 205 of file dlt_user.h.
Referenced by dlt_init_common(), dlt_register_app(), dlt_unregister_app(), and dlt_user_log_send_register_application().
int8_t DltUser::dlt_is_file |
Target of logging: 1 to file, 0 to daemon
Definition at line 194 of file dlt_user.h.
Referenced by dlt_forward_msg(), dlt_init(), dlt_init_file(), dlt_register_injection_callback(), dlt_register_log_level_changed_callback(), dlt_send_app_ll_ts_limit(), dlt_user_log_send_log(), dlt_user_log_send_log_mode(), dlt_user_log_send_marker(), dlt_user_log_send_overflow(), dlt_user_log_send_register_application(), dlt_user_log_send_register_context(), dlt_user_log_send_unregister_application(), and dlt_user_log_send_unregister_context().
dlt_ll_ts_type* DltUser::dlt_ll_ts |
Definition at line 196 of file dlt_user.h.
Referenced by dlt_free(), dlt_init_common(), dlt_register_context_ll_ts(), dlt_register_injection_callback(), dlt_register_log_level_changed_callback(), dlt_set_application_ll_ts_limit(), dlt_unregister_context(), dlt_user_log_check_user_message(), dlt_user_log_reattach_to_daemon(), dlt_user_log_write_start_id(), dlt_user_trace_network_segmented_end(), dlt_user_trace_network_segmented_segment(), dlt_user_trace_network_segmented_start(), and dlt_user_trace_network_truncated().
uint32_t DltUser::dlt_ll_ts_max_num_entries |
[MAX_DLT_LL_TS_ENTRIES]; < Internal management struct for all contexts Maximum number of contexts
Definition at line 198 of file dlt_user.h.
Referenced by dlt_free(), dlt_init_common(), and dlt_register_context_ll_ts().
uint32_t DltUser::dlt_ll_ts_num_entries |
Number of used contexts
Definition at line 200 of file dlt_user.h.
Referenced by dlt_free(), dlt_init_common(), dlt_register_context_ll_ts(), dlt_set_application_ll_ts_limit(), dlt_user_log_check_user_message(), and dlt_user_log_reattach_to_daemon().
int DltUser::dlt_log_handle |
Handle to fifo of dlt daemon
Definition at line 188 of file dlt_user.h.
Referenced by dlt_forward_msg(), dlt_free(), dlt_init(), dlt_init_common(), dlt_init_file(), dlt_register_app(), dlt_send_app_ll_ts_limit(), dlt_user_atexit_blow_out_user_buffer(), dlt_user_log_reattach_to_daemon(), dlt_user_log_resend_buffer(), dlt_user_log_send_log(), dlt_user_log_send_log_mode(), dlt_user_log_send_marker(), dlt_user_log_send_overflow(), dlt_user_log_send_register_application(), dlt_user_log_send_register_context(), dlt_user_log_send_unregister_application(), dlt_user_log_send_unregister_context(), and dlt_user_queue_resend().
pthread_t DltUser::dlt_segmented_nwt_handle |
thread handle of segmented sending
Definition at line 192 of file dlt_user.h.
Referenced by dlt_start_threads(), and dlt_stop_threads().
mqd_t DltUser::dlt_segmented_queue_read_handle |
Handle message queue
Definition at line 190 of file dlt_user.h.
Referenced by dlt_free(), dlt_init(), dlt_init_message_queue(), and dlt_user_trace_network_segmented_thread().
mqd_t DltUser::dlt_segmented_queue_write_handle |
Handle message queue
Definition at line 191 of file dlt_user.h.
Referenced by dlt_free(), dlt_init(), dlt_init_message_queue(), dlt_user_queue_resend(), and dlt_user_trace_network_segmented().
int DltUser::dlt_user_handle |
Handle to own fifo
Definition at line 189 of file dlt_user.h.
Referenced by dlt_free(), dlt_init(), dlt_init_common(), and dlt_user_log_check_user_message().
char DltUser::ecuID[DLT_ID_SIZE] |
ECU ID
Definition at line 186 of file dlt_user.h.
Referenced by dlt_init_common(), and dlt_user_log_send_log().
int8_t DltUser::enable_local_print |
Local printing of log messages: 1 enabled, 0 disabled
Definition at line 215 of file dlt_user.h.
Referenced by dlt_disable_local_print(), dlt_enable_local_print(), dlt_init_common(), and dlt_user_log_send_log().
dlt_env_ll_set DltUser::initial_ll_set |
Definition at line 228 of file dlt_user.h.
Referenced by dlt_free(), dlt_init_common(), and dlt_register_context_ll_ts().
int8_t DltUser::local_print_mode |
Local print mode, controlled by environment variable
Definition at line 216 of file dlt_user.h.
Referenced by dlt_init_common(), and dlt_user_log_send_log().
int8_t DltUser::log_state |
Log state of external connection: 1 client connected, 0 not connected, -1 unknown
Definition at line 218 of file dlt_user.h.
Referenced by dlt_get_log_state(), dlt_init_common(), and dlt_user_log_check_user_message().
int8_t DltUser::overflow |
Overflow marker, set to 1 on overflow, 0 otherwise
Definition at line 202 of file dlt_user.h.
Referenced by dlt_init().
uint32_t DltUser::overflow_counter |
Counts the number of lost messages
Definition at line 203 of file dlt_user.h.
Referenced by dlt_forward_msg(), dlt_init(), dlt_user_atexit_blow_out_user_buffer(), dlt_user_log_send_log(), and dlt_user_log_send_overflow().
DltReceiver DltUser::receiver |
Receiver for internal user-defined messages from daemon
Definition at line 207 of file dlt_user.h.
Referenced by dlt_free(), dlt_init(), and dlt_user_log_check_user_message().
uint8_t DltUser::resend_buffer[DLT_USER_RESENDBUF_MAX_SIZE] |
Definition at line 225 of file dlt_user.h.
Referenced by dlt_user_log_resend_buffer().
DltBuffer DltUser::startup_buffer |
Ring-buffer for buffering messages during startup and missing connection
Definition at line 223 of file dlt_user.h.
Referenced by dlt_forward_msg(), dlt_free(), dlt_init_common(), dlt_user_atexit_blow_out_user_buffer(), dlt_user_check_buffer(), dlt_user_log_resend_buffer(), dlt_user_log_send_log(), dlt_user_log_send_register_application(), and dlt_user_log_send_register_context().
uint32_t DltUser::timeout_at_exit_handler |
timeout used in dlt_user_atexit_blow_out_user_buffer, in 0.1 milliseconds
Definition at line 227 of file dlt_user.h.
Referenced by dlt_init_common(), dlt_set_resend_timeout_atexit(), and dlt_user_atexit_blow_out_user_buffer().
int8_t DltUser::use_extende_header_for_non_verbose |
Use extended header for non verbose: 1 enabled, 0 disabled
Definition at line 210 of file dlt_user.h.
Referenced by dlt_init_common(), dlt_use_extended_header_for_non_verbose(), and dlt_user_log_send_log().
int8_t DltUser::verbose_mode |
Verbose mode enabled: 1 enabled, 0 disabled
Definition at line 209 of file dlt_user.h.
Referenced by dlt_init_common(), dlt_log_int(), dlt_log_raw(), dlt_log_string(), dlt_log_string_int(), dlt_log_string_uint(), dlt_log_uint(), dlt_nonverbose_mode(), dlt_user_log_send_log(), dlt_user_log_write_bool(), dlt_user_log_write_constant_string(), dlt_user_log_write_float32(), dlt_user_log_write_float64(), dlt_user_log_write_int16(), dlt_user_log_write_int32(), dlt_user_log_write_int64(), dlt_user_log_write_int8(), dlt_user_log_write_raw_formatted(), dlt_user_log_write_start_id(), dlt_user_log_write_string(), dlt_user_log_write_uint16(), dlt_user_log_write_uint16_formatted(), dlt_user_log_write_uint32(), dlt_user_log_write_uint32_formatted(), dlt_user_log_write_uint64(), dlt_user_log_write_uint64_formatted(), dlt_user_log_write_uint8(), dlt_user_log_write_uint8_formatted(), dlt_user_log_write_utf8_string(), and dlt_verbose_mode().
int8_t DltUser::with_ecu_id |
Send always ecu id: 1 enabled, 0 disabled
Definition at line 213 of file dlt_user.h.
Referenced by dlt_init_common(), dlt_user_log_send_log(), and dlt_with_ecu_id().
int8_t DltUser::with_session_id |
Send always session id: 1 enabled, 0 disabled
Definition at line 211 of file dlt_user.h.
Referenced by dlt_init_common(), dlt_user_log_send_log(), and dlt_with_session_id().
int8_t DltUser::with_timestamp |
Send always timestamp: 1 enabled, 0 disabled
Definition at line 212 of file dlt_user.h.
Referenced by dlt_init_common(), dlt_user_log_send_log(), and dlt_with_timestamp().