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 809 of file midas.h.

Referenced by bm_remove_event_request().

float BUFFER_CLIENT::data_rate
 

data rate in kB/sec

Definition at line 805 of file midas.h.

EVENT_REQUEST BUFFER_CLIENT::event_request[MAX_EVENT_REQUESTS]
 

Definition at line 813 of file midas.h.

Referenced by bm_flush_cache(), 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 810 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 801 of file midas.h.

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

char BUFFER_CLIENT::name[NAME_LENGTH]
 

name of client

Definition at line 795 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 802 of file midas.h.

INT BUFFER_CLIENT::num_sent_events
 

no of sent events

Definition at line 803 of file midas.h.

INT BUFFER_CLIENT::num_waiting_events
 

no of waiting events

Definition at line 804 of file midas.h.

Referenced by bm_send_event().

INT BUFFER_CLIENT::pid
 

process ID

Definition at line 796 of file midas.h.

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

INT BUFFER_CLIENT::port
 

UDP port for wake up

Definition at line 799 of file midas.h.

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

INT BUFFER_CLIENT::read_pointer
 

read pointer to buffer

Definition at line 800 of file midas.h.

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

BOOL BUFFER_CLIENT::read_wait
 

wait for read - flag

Definition at line 806 of file midas.h.

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

INT BUFFER_CLIENT::thandle
 

thread handle

Definition at line 798 of file midas.h.

Referenced by bm_open_buffer().

INT BUFFER_CLIENT::tid
 

thread ID

Definition at line 797 of file midas.h.

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

BOOL BUFFER_CLIENT::wake_up
 

client got a wake-up msg

Definition at line 808 of file midas.h.

DWORD BUFFER_CLIENT::watchdog_timeout
 

timeout in ms

Definition at line 811 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 807 of file midas.h.

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


Midas DOC Version 1.9.5 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Sergio Ballestrero - Suzannah Daviel - Doxygen - Peter Green - Qing Gu - Greg Hackman - Gertjan Hofman - Paul Knowles - Rudi Meier - Glenn Moloney - Dave Morris - John M O'Donnell - Konstantin Olchanski - Renee Poutissou - Tamsen Schurman - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk