BUFFER_CLIENT Struct Reference
[Buffer Section]


Data Fields

char name [NAME_LENGTH]
INT pid
INT tid
INT thandle
INT port
INT read_pointer
INT max_request_index
INT num_received_events
INT num_sent_events
INT num_waiting_events
float data_rate
BOOL read_wait
INT write_wait
BOOL wake_up
BOOL all_flag
DWORD last_activity
DWORD watchdog_timeout

Field Documentation

BOOL BUFFER_CLIENT::all_flag
 

at least one GET_ALL request

Definition at line 1159 of file midas.h.

Referenced by bm_remove_event_request().

float BUFFER_CLIENT::data_rate
 

data rate in kB/sec

Definition at line 1155 of file midas.h.

EVENT_REQUEST BUFFER_CLIENT::event_request[MAX_EVENT_REQUESTS]
 

Definition at line 1163 of file midas.h.

Referenced by bm_push_event(), bm_receive_event(), bm_remove_event_request(), and bm_send_event().

DWORD BUFFER_CLIENT::last_activity
 

time of last activity

Definition at line 1160 of file midas.h.

Referenced by bm_open_buffer(), cm_cleanup(), and cm_set_watchdog_params().

INT BUFFER_CLIENT::max_request_index
 

index of last request

Definition at line 1151 of file midas.h.

Referenced by bm_push_event(), bm_receive_event(), and bm_remove_event_request().

char BUFFER_CLIENT::name[NAME_LENGTH]
 

name of client

Definition at line 1145 of file midas.h.

Referenced by bm_open_buffer(), and cm_cleanup().

INT BUFFER_CLIENT::num_received_events
 

no of received events

Definition at line 1152 of file midas.h.

INT BUFFER_CLIENT::num_sent_events
 

no of sent events

Definition at line 1153 of file midas.h.

INT BUFFER_CLIENT::num_waiting_events
 

no of waiting events

Definition at line 1154 of file midas.h.

INT BUFFER_CLIENT::pid
 

process ID

Definition at line 1146 of file midas.h.

Referenced by bm_close_buffer(), bm_flush_cache(), bm_open_buffer(), bm_send_event(), and cm_cleanup().

INT BUFFER_CLIENT::port
 

UDP port for wake up

Definition at line 1149 of file midas.h.

Referenced by bm_close_buffer(), bm_open_buffer(), and cm_cleanup().

INT BUFFER_CLIENT::read_pointer
 

read pointer to buffer

Definition at line 1150 of file midas.h.

Referenced by bm_empty_buffers(), bm_open_buffer(), bm_push_event(), bm_receive_event(), and bm_skip_event().

BOOL BUFFER_CLIENT::read_wait
 

wait for read - flag

Definition at line 1156 of file midas.h.

Referenced by bm_close_buffer(), bm_flush_cache(), bm_receive_event(), and cm_cleanup().

INT BUFFER_CLIENT::thandle
 

thread handle

Definition at line 1148 of file midas.h.

Referenced by bm_open_buffer().

INT BUFFER_CLIENT::tid
 

thread ID

Definition at line 1147 of file midas.h.

Referenced by bm_open_buffer().

BOOL BUFFER_CLIENT::wake_up
 

client got a wake-up msg

Definition at line 1158 of file midas.h.

DWORD BUFFER_CLIENT::watchdog_timeout
 

timeout in ms

Definition at line 1161 of file midas.h.

Referenced by bm_open_buffer(), cm_cleanup(), and cm_set_watchdog_params().

INT BUFFER_CLIENT::write_wait
 

wait for write # bytes

Definition at line 1157 of file midas.h.

Referenced by bm_close_buffer(), and cm_cleanup().


Midas DOC Version 1.9.3 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Suzannah Daviel - Doxygen - Peter Green - Greg Hackman - Gertjan Hofman - Paul Knowles - Rudi Meier - Glenn Moloney - Dave Morris - Konstantin Olchanski - Renee Poutissou - Andreas Suter - Piotr Adam Zolnierczuk