BUFFER_CLIENT Struct Reference
[Buffer Section]


Detailed Description

Definition at line 852 of file midas.h.

Data Fields

char name [NAME_LENGTH]
INT pid
INT unused0
INT unused
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
EVENT_REQUEST event_request [MAX_EVENT_REQUESTS]


Field Documentation

BOOL BUFFER_CLIENT::all_flag

at least one GET_ALL request

Definition at line 867 of file midas.h.

Referenced by bm_remove_event_request().

float BUFFER_CLIENT::data_rate

data rate in kB/sec

Definition at line 863 of file midas.h.

EVENT_REQUEST BUFFER_CLIENT::event_request[MAX_EVENT_REQUESTS]

Definition at line 871 of file midas.h.

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

DWORD BUFFER_CLIENT::last_activity

time of last activity

Definition at line 868 of file midas.h.

Referenced by bm_cleanup(), and cm_cleanup().

INT BUFFER_CLIENT::max_request_index

index of last request

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

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

INT BUFFER_CLIENT::num_received_events

no of received events

Definition at line 860 of file midas.h.

INT BUFFER_CLIENT::num_sent_events

no of sent events

Definition at line 861 of file midas.h.

INT BUFFER_CLIENT::num_waiting_events

no of waiting events

Definition at line 862 of file midas.h.

Referenced by bm_send_event().

INT BUFFER_CLIENT::pid

process ID

Definition at line 854 of file midas.h.

Referenced by bm_cleanup(), bm_close_buffer(), bm_remove_client_locked(), 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 857 of file midas.h.

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

INT BUFFER_CLIENT::read_pointer

read pointer to buffer

Definition at line 858 of file midas.h.

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

Referenced by bm_close_buffer(), bm_receive_event(), bm_remove_client_locked(), and bm_wait_for_free_space().

INT BUFFER_CLIENT::unused

was thread handle

Definition at line 856 of file midas.h.

INT BUFFER_CLIENT::unused0

was thread ID

Definition at line 855 of file midas.h.

BOOL BUFFER_CLIENT::wake_up

client got a wake-up msg

Definition at line 866 of file midas.h.

DWORD BUFFER_CLIENT::watchdog_timeout

timeout in ms

Definition at line 869 of file midas.h.

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

INT BUFFER_CLIENT::write_wait

wait for write # bytes

Definition at line 865 of file midas.h.

Referenced by bm_close_buffer(), bm_remove_client_locked(), and bm_wakeup_producers().


Midas DOC Version 3.0.0 ---- 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