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

Referenced by bm_remove_event_request().

float BUFFER_CLIENT::data_rate
 

data rate in kB/sec

Definition at line 825 of file midas.h.

EVENT_REQUEST BUFFER_CLIENT::event_request[MAX_EVENT_REQUESTS]
 

Definition at line 833 of file midas.h.

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

DWORD BUFFER_CLIENT::last_activity
 

time of last activity

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

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

char BUFFER_CLIENT::name[NAME_LENGTH]
 

name of client

Definition at line 815 of file midas.h.

Referenced by bm_open_buffer(), bm_validate_client_index(), bm_validate_client_pointers(), and cm_cleanup().

INT BUFFER_CLIENT::num_received_events
 

no of received events

Definition at line 822 of file midas.h.

INT BUFFER_CLIENT::num_sent_events
 

no of sent events

Definition at line 823 of file midas.h.

INT BUFFER_CLIENT::num_waiting_events
 

no of waiting events

Definition at line 824 of file midas.h.

Referenced by bm_send_event().

INT BUFFER_CLIENT::pid
 

process ID

Definition at line 816 of file midas.h.

Referenced by bm_close_buffer(), bm_flush_cache(), bm_open_buffer(), bm_send_event(), bm_update_read_pointer(), bm_validate_client_index(), bm_wait_for_free_space(), bm_wakeup_producers(), and cm_cleanup().

INT BUFFER_CLIENT::port
 

UDP port for wake up

Definition at line 819 of file midas.h.

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

INT BUFFER_CLIENT::read_pointer
 

read pointer to buffer

Definition at line 820 of file midas.h.

Referenced by bm_empty_buffers(), bm_flush_cache(), bm_open_buffer(), bm_push_event(), bm_receive_event(), bm_send_event(), bm_skip_event(), bm_update_read_pointer(), bm_validate_client_pointers(), bm_wait_for_free_space(), and bm_wakeup_producers().

BOOL BUFFER_CLIENT::read_wait
 

wait for read - flag

Definition at line 826 of file midas.h.

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

INT BUFFER_CLIENT::thandle
 

thread handle

Definition at line 818 of file midas.h.

Referenced by bm_open_buffer().

INT BUFFER_CLIENT::tid
 

thread ID

Definition at line 817 of file midas.h.

Referenced by bm_open_buffer(), and bm_wakeup_producers().

BOOL BUFFER_CLIENT::wake_up
 

client got a wake-up msg

Definition at line 828 of file midas.h.

DWORD BUFFER_CLIENT::watchdog_timeout
 

timeout in ms

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

Referenced by bm_close_buffer(), bm_wait_for_free_space(), bm_wakeup_producers(), and cm_cleanup().


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