BUFFER Struct Reference
[Buffer Section]


Data Fields

BOOL attached
INT client_index
BUFFER_HEADERbuffer_header
void * buffer_data
char * read_cache
INT read_cache_size
INT read_cache_rp
INT read_cache_wp
char * write_cache
INT write_cache_size
INT write_cache_rp
INT write_cache_wp
HNDLE mutex
INT shm_handle
INT index
BOOL callback

Field Documentation

BOOL BUFFER::attached
 

TRUE if buffer is attached

Definition at line 834 of file midas.h.

Referenced by bm_check_buffers(), bm_close_buffer(), bm_empty_buffers(), bm_flush_cache(), bm_open_buffer(), bm_push_event(), bm_receive_event(), bm_remove_event_request(), bm_send_event(), bm_set_cache_size(), bm_skip_event(), cm_cleanup(), and cm_set_watchdog_params().

void* BUFFER::buffer_data
 

pointer to buffer data

Definition at line 837 of file midas.h.

Referenced by bm_open_buffer().

BUFFER_HEADER* BUFFER::buffer_header
 

pointer to buffer header

Definition at line 836 of file midas.h.

Referenced by bm_check_buffers(), bm_close_buffer(), bm_empty_buffers(), bm_flush_cache(), bm_open_buffer(), bm_push_event(), bm_receive_event(), bm_remove_event_request(), bm_send_event(), bm_skip_event(), cm_cleanup(), and cm_set_watchdog_params().

BOOL BUFFER::callback
 

callback defined for this buffer

Definition at line 849 of file midas.h.

Referenced by bm_open_buffer(), and bm_push_event().

INT BUFFER::client_index
 

index to CLIENT str. in buf.

Definition at line 835 of file midas.h.

Referenced by bm_close_buffer(), bm_empty_buffers(), bm_flush_cache(), bm_open_buffer(), bm_push_event(), bm_receive_event(), bm_remove_event_request(), bm_send_event(), bm_skip_event(), cm_cleanup(), and cm_set_watchdog_params().

INT BUFFER::index
 

connection index / tid

Definition at line 848 of file midas.h.

Referenced by bm_check_buffers(), bm_close_buffer(), bm_empty_buffers(), bm_open_buffer(), and cm_set_watchdog_params().

HNDLE BUFFER::mutex
 

mutex/semaphore handle

Definition at line 846 of file midas.h.

char* BUFFER::read_cache
 

cache for burst read

Definition at line 838 of file midas.h.

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

INT BUFFER::read_cache_rp
 

cache read pointer

Definition at line 840 of file midas.h.

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

INT BUFFER::read_cache_size
 

cache size in bytes

Definition at line 839 of file midas.h.

Referenced by bm_close_buffer(), bm_push_event(), bm_receive_event(), and bm_set_cache_size().

INT BUFFER::read_cache_wp
 

cache write pointer

Definition at line 841 of file midas.h.

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

INT BUFFER::shm_handle
 

handle to shared memory

Definition at line 847 of file midas.h.

Referenced by bm_close_buffer(), and bm_open_buffer().

char* BUFFER::write_cache
 

cache for burst read

Definition at line 842 of file midas.h.

Referenced by bm_flush_cache(), bm_send_event(), and bm_set_cache_size().

INT BUFFER::write_cache_rp
 

cache read pointer

Definition at line 844 of file midas.h.

Referenced by bm_flush_cache(), and bm_set_cache_size().

INT BUFFER::write_cache_size
 

cache size in bytes

Definition at line 843 of file midas.h.

Referenced by bm_close_buffer(), bm_flush_cache(), bm_send_event(), and bm_set_cache_size().

INT BUFFER::write_cache_wp
 

cache write pointer

Definition at line 845 of file midas.h.

Referenced by bm_flush_cache(), bm_send_event(), and bm_set_cache_size().


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