automotive-dlt
DltUser Struct Reference

#include <dlt_user.h>

Collaboration diagram for DltUser:

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_typedlt_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
 

Detailed Description

This structure is used once for one application.

Definition at line 184 of file dlt_user.h.

Field Documentation

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().

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
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().

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::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().


The documentation for this struct was generated from the following file: