The midas.h & midas.c


Modules

 Midas Define
 Midas Macros
 Midas Error definition
 Midas Structure Declaration
 Midas Message Functions (msg_xxx)
 Midas Common Functions (cm_xxx)
 Midas Buffer Manager Functions (bm_xxx)
 Midas RPC Functions (rpc_xxx)
 Midas Bank Functions (bk_xxx)
 Midas History Functions (hs_xxx)
 Midas Elog Functions (el_xxx)
 Midas Alarm Functions (al_xxx)
 Midas Dual Buffer Memory Functions (dm_xxx)

Defines

#define TAPE_BUFFER_SIZE   0x8000
#define NET_TCP_SIZE   0xFFFF
#define OPT_TCP_SIZE   8192
#define NET_UDP_SIZE   8192
#define EVENT_BUFFER_SIZE   0x100000
#define EVENT_BUFFER_NAME   "SYSTEM"
#define MAX_EVENT_SIZE   0x80000
#define DEFAULT_EVENT_BUFFER_SIZE   0x200000;
#define DEFAULT_ODB_SIZE   0x100000
#define NAME_LENGTH   32
#define HOST_NAME_LENGTH   256
#define MAX_CLIENTS   64
#define MAX_EVENT_REQUESTS   10
#define MAX_OPEN_RECORDS   256
#define MAX_ODB_PATH   256
#define MAX_EXPERIMENT   32
#define BANKLIST_MAX   64
#define STRING_BANKLIST_MAX   BANKLIST_MAX * 4
#define DEFAULT_RPC_TIMEOUT   10000
#define DEFAULT_WATCHDOG_TIMEOUT   10000
#define CH_BS   8
#define LAM_SOURCE(c, s)   (c<<24 | ((s) & 0xFFFFFF))
#define LAM_STATION(s)   (1<<(s-1))
#define LAM_SOURCE_CRATE(c)   (c>>24)
#define LAM_SOURCE_STATION(s)   ((s) & 0xFFFFFF)
#define CNAF   0x1
#define ANA_CONTINUE   1

Variables

short int EVENT_HEADER::trigger_mask
DWORD EVENT_HEADER::serial_number
DWORD EVENT_HEADER::time_stamp
DWORD EVENT_HEADER::data_size
BOOL EVENT_REQUEST::valid
short int EVENT_REQUEST::event_id
short int EVENT_REQUEST::trigger_mask
INT EVENT_REQUEST::sampling_type
INT BUFFER_CLIENT::pid
INT BUFFER_CLIENT::tid
INT BUFFER_CLIENT::thandle
INT BUFFER_CLIENT::port
INT BUFFER_CLIENT::read_pointer
INT BUFFER_CLIENT::max_request_index
INT BUFFER_CLIENT::num_received_events
INT BUFFER_CLIENT::num_sent_events
INT BUFFER_CLIENT::num_waiting_events
float BUFFER_CLIENT::data_rate
BOOL BUFFER_CLIENT::read_wait
INT BUFFER_CLIENT::write_wait
BOOL BUFFER_CLIENT::wake_up
BOOL BUFFER_CLIENT::all_flag
DWORD BUFFER_CLIENT::last_activity
DWORD BUFFER_CLIENT::watchdog_timeout
INT BUFFER_HEADER::num_clients
INT BUFFER_HEADER::max_client_index
INT BUFFER_HEADER::size
INT BUFFER_HEADER::read_pointer
INT BUFFER_HEADER::write_pointer
INT BUFFER_HEADER::num_in_events
INT BUFFER_HEADER::num_out_events
BUFFER_CLIENT BUFFER_HEADER::client [MAX_CLIENTS]
INT BUFFER::client_index
BUFFER_HEADERBUFFER::buffer_header
void * BUFFER::buffer_data
char * BUFFER::read_cache
INT BUFFER::read_cache_size
INT BUFFER::read_cache_rp
INT BUFFER::read_cache_wp
char * BUFFER::write_cache
INT BUFFER::write_cache_size
INT BUFFER::write_cache_rp
INT BUFFER::write_cache_wp
HNDLE BUFFER::mutex
INT BUFFER::shm_handle
INT BUFFER::index
BOOL BUFFER::callback
INT KEY::num_values
char KEY::name [NAME_LENGTH]
INT KEY::data
INT KEY::total_size
INT KEY::item_size
WORD KEY::access_mode
WORD KEY::notify_count
INT KEY::next_key
INT KEY::parent_keylist
INT KEY::last_written
INT KEYLIST::num_keys
INT KEYLIST::first_key
INT(* BUS_DRIVER::bd )(INT cmd,...)
void * BUS_DRIVER::bd_info
INT(* DEVICE_DRIVER::dd )(INT cmd,...)
INT DEVICE_DRIVER::channels
INT(* DEVICE_DRIVER::bd )(INT cmd,...)
DWORD DEVICE_DRIVER::flags
void * DEVICE_DRIVER::dd_info
WORD EQUIPMENT_INFO::trigger_mask
char EQUIPMENT_INFO::buffer [NAME_LENGTH]
INT EQUIPMENT_INFO::eq_type
INT EQUIPMENT_INFO::source
char EQUIPMENT_INFO::format [8]
BOOL EQUIPMENT_INFO::enabled
INT EQUIPMENT_INFO::read_on
INT EQUIPMENT_INFO::period
double EQUIPMENT_INFO::event_limit
DWORD EQUIPMENT_INFO::num_subevents
INT EQUIPMENT_INFO::history
char EQUIPMENT_INFO::frontend_host [NAME_LENGTH]
char EQUIPMENT_INFO::frontend_name [NAME_LENGTH]
char EQUIPMENT_INFO::frontend_file_name [256]
EQUIPMENT_INFO eqpmnt::info
INT(* eqpmnt::readout )(char *, INT)
INT(* eqpmnt::cd )(INT cmd, PEQUIPMENT)
DEVICE_DRIVEReqpmnt::driver
void * eqpmnt::event_descrip
void * eqpmnt::cd_info
INT eqpmnt::status
DWORD eqpmnt::last_called
DWORD eqpmnt::last_idle
DWORD eqpmnt::poll_count
INT eqpmnt::format
HNDLE eqpmnt::buffer_handle
HNDLE eqpmnt::hkey_variables
DWORD eqpmnt::serial_number
DWORD eqpmnt::subevent_number
DWORD eqpmnt::odb_out
DWORD eqpmnt::odb_in
DWORD eqpmnt::bytes_sent
DWORD eqpmnt::events_sent
DWORD BANK_HEADER::flags
WORD BANK::type
WORD BANK::data_size
DWORD BANK32::type
DWORD BANK32::data_size
DWORD TAG::type
DWORD TAG::n_data
WORD BANK_LIST::type
DWORD BANK_LIST::size
char ** BANK_LIST::init_str
BOOL BANK_LIST::output_flag
void * BANK_LIST::addr
DWORD BANK_LIST::n_data
HNDLE BANK_LIST::def_key
char ANA_MODULE::author [NAME_LENGTH]
INT(* ANA_MODULE::analyzer )(EVENT_HEADER *, void *)
INT(* ANA_MODULE::bor )(INT run_number)
INT(* ANA_MODULE::eor )(INT run_number)
INT(* ANA_MODULE::init )()
INT(* ANA_MODULE::exit )()
void * ANA_MODULE::parameters
INT ANA_MODULE::param_size
char ** ANA_MODULE::init_str
BOOL ANA_MODULE::enabled
INT AR_INFO::trigger_mask
INT AR_INFO::sampling_type
char AR_INFO::buffer [NAME_LENGTH]
BOOL AR_INFO::enabled
char AR_INFO::client_name [NAME_LENGTH]
char AR_INFO::host [NAME_LENGTH]
AR_INFO ANALYZE_REQUEST::ar_info
INT(* ANALYZE_REQUEST::analyzer )(EVENT_HEADER *, void *)
ANA_MODULE ** ANALYZE_REQUEST::ana_module
BANK_LISTANALYZE_REQUEST::bank_list
INT ANALYZE_REQUEST::rwnt_buffer_size
BOOL ANALYZE_REQUEST::use_tests
INT ANALYZE_REQUEST::status
HNDLE ANALYZE_REQUEST::buffer_handle
HNDLE ANALYZE_REQUEST::request_id
HNDLE ANALYZE_REQUEST::hkey_variables
HNDLE ANALYZE_REQUEST::hkey_common
void * ANALYZE_REQUEST::addr
struct {
ANALYZE_REQUEST::number
DWORD ANALYZE_REQUEST::events_received
DWORD ANALYZE_REQUEST::events_written
INT RUNINFO::online_mode
INT RUNINFO::run_number
INT RUNINFO::transition_in_progress
INT RUNINFO::requested_transition
char RUNINFO::start_time [32]
DWORD RUNINFO::start_time_binary
char RUNINFO::stop_time [32]
DWORD RUNINFO::stop_time_binary
static HNDLE _hKeyClient = 0


Define Documentation

#define ANA_CONTINUE   1
 

dox

Definition at line 713 of file midas.h.

#define ANA_SKIP   0
 

Definition at line 714 of file midas.h.

#define BANKLIST_MAX   64
 

max # of banks in event

Definition at line 227 of file midas.h.

Referenced by bk_list().

#define CH_BS   8
 

special characters

Definition at line 367 of file midas.h.

#define CH_CR   13
 

Definition at line 369 of file midas.h.

#define CH_DELETE   (CH_EXT+2)
 

Definition at line 375 of file midas.h.

#define CH_DOWN   (CH_EXT+7)
 

Definition at line 380 of file midas.h.

#define CH_END   (CH_EXT+3)
 

Definition at line 376 of file midas.h.

#define CH_EXT   0x100
 

Definition at line 371 of file midas.h.

#define CH_HOME   (CH_EXT+0)
 

Definition at line 373 of file midas.h.

#define CH_INSERT   (CH_EXT+1)
 

Definition at line 374 of file midas.h.

#define CH_LEFT   (CH_EXT+9)
 

Definition at line 382 of file midas.h.

#define CH_PDOWN   (CH_EXT+5)
 

Definition at line 378 of file midas.h.

#define CH_PUP   (CH_EXT+4)
 

Definition at line 377 of file midas.h.

#define CH_RIGHT   (CH_EXT+8)
 

Definition at line 381 of file midas.h.

#define CH_TAB   9
 

Definition at line 368 of file midas.h.

#define CH_UP   (CH_EXT+6)
 

Definition at line 379 of file midas.h.

#define CNAF   0x1
 

CNAF commands

Definition at line 412 of file midas.h.

#define CNAF_CRATE_CLEAR   0x102
 

Definition at line 417 of file midas.h.

#define CNAF_CRATE_ZINIT   0x103
 

Definition at line 418 of file midas.h.

#define CNAF_INHIBIT_CLEAR   0x101
 

Definition at line 416 of file midas.h.

#define CNAF_INHIBIT_SET   0x100
 

Definition at line 415 of file midas.h.

#define CNAF_nQ   0x2
 

Definition at line 413 of file midas.h.

#define CNAF_TEST   0x110
 

Definition at line 419 of file midas.h.

#define DATABASE_VERSION   2
 

Definition at line 46 of file midas.h.

Referenced by db_open_database().

#define DEFAULT_EVENT_BUFFER_SIZE   0x200000;
 

2M

Definition at line 217 of file midas.h.

#define DEFAULT_ODB_SIZE   0x100000
 

online database 1M

Definition at line 218 of file midas.h.

Referenced by cm_connect_experiment(), cm_connect_experiment1(), and main().

#define DEFAULT_RPC_TIMEOUT   10000
 

Timeouts [ms]

Definition at line 235 of file midas.h.

#define DEFAULT_WATCHDOG_TIMEOUT   10000
 

Watchdog

Definition at line 238 of file midas.h.

Referenced by cm_connect_experiment(), and cm_connect_experiment1().

#define EVENT_BUFFER_NAME   "SYSTEM"
 

buffer name for commands

Definition at line 215 of file midas.h.

#define EVENT_BUFFER_SIZE   0x100000
 

buffer used for events

Definition at line 214 of file midas.h.

Referenced by register_equipment(), and source_booking().

#define HOST_NAME_LENGTH   256
 

length of TCP/IP names

Definition at line 221 of file midas.h.

Referenced by cm_connect_client(), cm_connect_experiment1(), cm_disconnect_experiment(), cm_set_client_info(), cm_shutdown(), and cm_transition().

#define LAM_SOURCE c,
 )     (c<<24 | ((s) & 0xFFFFFF))
 

Code the LAM crate and LAM station into a bitwise register.

Parameters:
c Crate number
s Slot number

Definition at line 390 of file midas.h.

#define LAM_SOURCE_CRATE  )     (c>>24)
 

Convert the coded LAM crate to Crate number.

Parameters:
c coded crate

Definition at line 402 of file midas.h.

Referenced by poll_event().

#define LAM_SOURCE_STATION  )     ((s) & 0xFFFFFF)
 

Convert the coded LAM station to Station number.

Parameters:
s Slot number

Definition at line 408 of file midas.h.

Referenced by poll_event().

#define LAM_STATION  )     (1<<(s-1))
 

Code the Station number bitwise for the LAM source.

Parameters:
s Slot number

Definition at line 396 of file midas.h.

#define MAX_CLIENTS   64
 

client processes per buf/db

Definition at line 222 of file midas.h.

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

#define MAX_EVENT_REQUESTS   10
 

event requests per client

Definition at line 223 of file midas.h.

Referenced by bm_remove_event_request().

#define MAX_EVENT_SIZE   0x80000
 

maximum event size 512k

Definition at line 216 of file midas.h.

Referenced by bm_send_event(), dm_buffer_create(), main(), register_equipment(), and rpc_send_event().

#define MAX_EXPERIMENT   32
 

number of different exp.

Definition at line 226 of file midas.h.

Referenced by cm_connect_experiment1(), cm_list_experiments(), cm_scan_experiments(), and cm_select_experiment().

#define MAX_ODB_PATH   256
 

length of path in ODB

Definition at line 225 of file midas.h.

Referenced by db_copy().

#define MAX_OPEN_RECORDS   256
 

number of open DB records

Definition at line 224 of file midas.h.

#define MIDAS_TCP_PORT   1175
 

Definition at line 231 of file midas.h.

Referenced by cm_list_experiments(), and cm_transition().

#define MIDAS_VERSION   "1.9.5"
 

Definition at line 45 of file midas.h.

Referenced by cm_get_version().

#define NAME_LENGTH   32
 

length of names, mult.of 8!

Definition at line 220 of file midas.h.

Referenced by bm_open_buffer(), cm_check_client(), cm_connect_client(), cm_connect_experiment1(), cm_exist(), cm_get_client_info(), cm_select_experiment(), cm_set_client_info(), cm_shutdown(), cm_transition(), db_open_database(), and load_fragment().

#define NET_TCP_SIZE   0xFFFF
 

maximum TCP transfer

Definition at line 210 of file midas.h.

Referenced by rpc_send_event(), and scheduler().

#define NET_UDP_SIZE   8192
 

maximum UDP transfer

Definition at line 212 of file midas.h.

#define OPT_TCP_SIZE   8192
 

optimal TCP buffer size

Definition at line 211 of file midas.h.

#define STRING_BANKLIST_MAX   BANKLIST_MAX * 4
 

for bk_list()

Definition at line 228 of file midas.h.

#define TAPE_BUFFER_SIZE   0x8000
 

dox buffer size for taping data

Definition at line 208 of file midas.h.

#define WATCHDOG_INTERVAL   1000
 

Definition at line 236 of file midas.h.

Referenced by cm_set_client_info(), cm_set_watchdog_params(), and ss_sleep().


Variable Documentation

INT _call_watchdog = TRUE [static]
 

Definition at line 992 of file midas.c.

char _client_name[NAME_LENGTH] [static]
 

Definition at line 990 of file midas.c.

HNDLE _hDB = 0 [static]
 

Definition at line 989 of file midas.c.

HNDLE _hKeyClient = 0 [static]
 

dox

Definition at line 988 of file midas.c.

INT _mutex_alarm
 

Definition at line 994 of file midas.c.

Referenced by db_close_database().

INT _mutex_elog
 

Definition at line 994 of file midas.c.

Referenced by db_close_database().

char _path_name[MAX_STRING_LENGTH] [static]
 

Definition at line 991 of file midas.c.

INT _watchdog_timeout = DEFAULT_WATCHDOG_TIMEOUT [static]
 

Definition at line 993 of file midas.c.

WORD KEY::access_mode [inherited]
 

Access mode

Definition at line 860 of file midas.h.

Referenced by cm_cleanup(), db_create_key(), db_delete_key1(), db_find_key(), db_get_data(), db_get_data_index(), db_get_value(), db_open_database(), db_open_record(), db_set_data(), db_set_data_index(), and db_set_value().

void* ANALYZE_REQUEST::addr [inherited]
 

Buffer for CWNT filling

Definition at line 1050 of file midas.h.

void* BANK_LIST::addr [inherited]
 

Definition at line 992 of file midas.h.

char ALARM::alarm_class[32] [inherited]
 

Definition at line 1245 of file midas.h.

Referenced by al_trigger_alarm().

char PROGRAM_INFO::alarm_class[32] [inherited]
 

Definition at line 1180 of file midas.h.

char ALARM::alarm_message[80] [inherited]
 

Definition at line 1246 of file midas.h.

Referenced by al_trigger_alarm().

BOOL BUFFER_CLIENT::all_flag [inherited]
 

at least one GET_ALL request

Definition at line 809 of file midas.h.

Referenced by bm_remove_event_request().

ANA_MODULE** ANALYZE_REQUEST::ana_module [inherited]
 

List of analyzer modules

Definition at line 1040 of file midas.h.

INT(* ANALYZE_REQUEST::analyzer)(EVENT_HEADER *, void *) [inherited]
 

Pointer to user analyzer routine

INT(* ANA_MODULE::analyzer)(EVENT_HEADER *, void *) [inherited]
 

Pointer to user analyzer routine

AR_INFO ANALYZE_REQUEST::ar_info [inherited]
 

From above

Definition at line 1038 of file midas.h.

AR_STATS ANALYZE_REQUEST::ar_stats [inherited]
 

Definition at line 1058 of file midas.h.

char ANA_MODULE::author[NAME_LENGTH] [inherited]
 

Author

Definition at line 1006 of file midas.h.

BOOL PROGRAM_INFO::auto_restart [inherited]
 

Definition at line 1179 of file midas.h.

BOOL PROGRAM_INFO::auto_start [inherited]
 

Definition at line 1177 of file midas.h.

Referenced by cm_transition().

BOOL PROGRAM_INFO::auto_stop [inherited]
 

Definition at line 1178 of file midas.h.

Referenced by cm_transition().

BANK_LIST* ANALYZE_REQUEST::bank_list [inherited]
 

List of banks for event

Definition at line 1041 of file midas.h.

DWORD HISTORY::base_time [inherited]
 

Definition at line 1120 of file midas.h.

INT(* DEVICE_DRIVER::bd)(INT cmd,...) [inherited]
 

Bus driver entry point

INT(* BUS_DRIVER::bd)(INT cmd,...) [inherited]
 

Device driver entry point

void* BUS_DRIVER::bd_info [inherited]
 

Private info for bus driver

Definition at line 890 of file midas.h.

INT(* ANA_MODULE::bor)(INT run_number) [inherited]
 

Pointer to begin-of-run routine

char AR_INFO::buffer[NAME_LENGTH] [inherited]
 

Event buffer to send events into

Definition at line 1024 of file midas.h.

char EQUIPMENT_INFO::buffer[NAME_LENGTH] [inherited]
 

Event buffer to send events into

Definition at line 905 of file midas.h.

Referenced by register_equipment().

void* BUFFER::buffer_data [inherited]
 

pointer to buffer data

Definition at line 837 of file midas.h.

Referenced by bm_open_buffer().

HNDLE ANALYZE_REQUEST::buffer_handle [inherited]
 

MIDAS buffer handle

Definition at line 1046 of file midas.h.

HNDLE eqpmnt::buffer_handle [inherited]
 

MIDAS buffer handle

Definition at line 941 of file midas.h.

Referenced by interrupt_routine(), register_equipment(), and scheduler().

BUFFER_HEADER* BUFFER::buffer_header [inherited]
 

pointer to buffer header

Definition at line 836 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().

DWORD eqpmnt::bytes_sent [inherited]
 

number of bytes sent

Definition at line 947 of file midas.h.

Referenced by interrupt_routine(), scan_fragment(), scheduler(), send_event(), source_scan(), and tr_stop().

BOOL BUFFER::callback [inherited]
 

callback defined for this buffer

Definition at line 849 of file midas.h.

Referenced by bm_open_buffer(), and bm_push_event().

INT(* eqpmnt::cd)(INT cmd, PEQUIPMENT) [inherited]
 

Class driver routine

Referenced by main(), register_equipment(), and scheduler().

void* eqpmnt::cd_info [inherited]
 

private data for class driver

Definition at line 935 of file midas.h.

INT DEVICE_DRIVER::channels [inherited]
 

Number of channels

Definition at line 896 of file midas.h.

INT ALARM::check_interval [inherited]
 

Definition at line 1240 of file midas.h.

Referenced by al_trigger_alarm().

DWORD PROGRAM_INFO::check_interval [inherited]
 

Definition at line 1175 of file midas.h.

DWORD ALARM::checked_last [inherited]
 

Definition at line 1241 of file midas.h.

Referenced by al_trigger_alarm().

BUFFER_CLIENT BUFFER_HEADER::client[MAX_CLIENTS] [inherited]
 

entries for clients

Definition at line 827 of file midas.h.

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

INT BUFFER::client_index [inherited]
 

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().

char AR_INFO::client_name[NAME_LENGTH] [inherited]
 

Analyzer name

Definition at line 1026 of file midas.h.

char ALARM::condition[256] [inherited]
 

Definition at line 1244 of file midas.h.

DWORD ANA_TEST::count [inherited]
 

Definition at line 1067 of file midas.h.

INT KEY::data [inherited]
 

Address of variable (offset)

Definition at line 857 of file midas.h.

Referenced by db_create_key(), db_delete_key1(), db_enum_key(), db_find_key(), db_get_data(), db_get_data_index(), db_get_key_info(), db_get_value(), db_open_database(), db_set_data(), db_set_data_index(), and db_set_value().

float BUFFER_CLIENT::data_rate [inherited]
 

data rate in kB/sec

Definition at line 805 of file midas.h.

DWORD HIST_RECORD::data_size [inherited]
 

Definition at line 1097 of file midas.h.

DWORD BANK32::data_size [inherited]
 

Definition at line 977 of file midas.h.

Referenced by bk_close(), bk_create(), bk_find(), bk_locate(), and bk_swap().

WORD BANK::data_size [inherited]
 

Definition at line 971 of file midas.h.

Referenced by bk_close(), bk_create(), bk_find(), bk_iterate(), bk_locate(), and bk_swap().

DWORD EVENT_HEADER::data_size [inherited]
 

size of event in bytes w/o header

Definition at line 734 of file midas.h.

Referenced by bm_compose_event(), bm_flush_cache(), bm_push_event(), bm_receive_event(), cm_msg(), cm_msg1(), eb_user(), interrupt_routine(), scheduler(), send_event(), and update_odb().

INT(* DEVICE_DRIVER::dd)(INT cmd,...) [inherited]
 

Device driver entry point

void* DEVICE_DRIVER::dd_info [inherited]
 

Private info for device driver

Definition at line 899 of file midas.h.

DWORD HISTORY::def_fh [inherited]
 

Definition at line 1119 of file midas.h.

HNDLE BANK_LIST::def_key [inherited]
 

Definition at line 994 of file midas.h.

DWORD HISTORY::def_offset [inherited]
 

Definition at line 1121 of file midas.h.

DWORD DEF_RECORD::def_offset [inherited]
 

Definition at line 1103 of file midas.h.

DWORD HIST_RECORD::def_offset [inherited]
 

Definition at line 1096 of file midas.h.

void(* EVENT_REQUEST::dispatch)(HNDLE, HNDLE, EVENT_HEADER *, void *) [inherited]
 

char ALARM_CLASS::display_bgcolor[32] [inherited]
 

Definition at line 1215 of file midas.h.

char ALARM_CLASS::display_fgcolor[32] [inherited]
 

Definition at line 1216 of file midas.h.

DEVICE_DRIVER* eqpmnt::driver [inherited]
 

Device driver list

Definition at line 933 of file midas.h.

BOOL AR_INFO::enabled [inherited]
 

Enable flag

Definition at line 1025 of file midas.h.

BOOL ANA_MODULE::enabled [inherited]
 

Enabled flag

Definition at line 1016 of file midas.h.

BOOL EQUIPMENT_INFO::enabled [inherited]
 

Enable flag

Definition at line 909 of file midas.h.

Referenced by register_equipment(), scheduler(), send_all_periodic_events(), and tr_start().

INT(* ANA_MODULE::eor)(INT run_number) [inherited]
 

Pointer to end-of-run routine

INT EQUIPMENT_INFO::eq_type [inherited]
 

One of EQ_xxx

Definition at line 906 of file midas.h.

Referenced by register_equipment(), scheduler(), and send_event().

void* eqpmnt::event_descrip [inherited]
 

Init string for fixed events or bank list

Definition at line 934 of file midas.h.

DWORD HIST_RECORD::event_id [inherited]
 

Definition at line 1094 of file midas.h.

short int EVENT_REQUEST::event_id [inherited]
 

event ID

Definition at line 787 of file midas.h.

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

double EQUIPMENT_INFO::event_limit [inherited]
 

Stop run when limit is reached

Definition at line 912 of file midas.h.

Referenced by register_equipment(), and scheduler().

char HISTORY::event_name[NAME_LENGTH] [inherited]
 

Definition at line 1114 of file midas.h.

char DEF_RECORD::event_name[NAME_LENGTH] [inherited]
 

Definition at line 1102 of file midas.h.

EVENT_REQUEST BUFFER_CLIENT::event_request[MAX_EVENT_REQUESTS] [inherited]
 

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().

double AR_STATS::events_per_sec [inherited]
 

Definition at line 1032 of file midas.h.

double EQUIPMENT_STATS::events_per_sec [inherited]
 

Definition at line 922 of file midas.h.

Referenced by register_equipment(), scan_fragment(), and scheduler().

DWORD ANALYZE_REQUEST::events_received [inherited]
 

number of events sent

Definition at line 1056 of file midas.h.

DWORD eqpmnt::events_sent [inherited]
 

number of events sent

Definition at line 948 of file midas.h.

Referenced by display(), interrupt_routine(), scan_fragment(), scheduler(), send_event(), source_scan(), and tr_stop().

DWORD ANALYZE_REQUEST::events_written [inherited]
 

number of events written

Definition at line 1057 of file midas.h.

double AR_STATS::events_written [inherited]
 

Definition at line 1033 of file midas.h.

char ALARM_CLASS::execute_command[256] [inherited]
 

Definition at line 1211 of file midas.h.

INT ALARM_CLASS::execute_interval [inherited]
 

Definition at line 1212 of file midas.h.

DWORD ALARM_CLASS::execute_last [inherited]
 

Definition at line 1213 of file midas.h.

INT(* ANA_MODULE::exit)() [inherited]
 

Pointer to exit routine

DWORD PROGRAM_INFO::first_failed [inherited]
 

Definition at line 1181 of file midas.h.

INT KEYLIST::first_key [inherited]
 

Address of first key

Definition at line 870 of file midas.h.

Referenced by db_create_key(), db_delete_key1(), db_enum_key(), db_find_key(), and db_open_database().

DWORD BANK_HEADER::flags [inherited]
 

internal flag

Definition at line 965 of file midas.h.

Referenced by bk_swap().

DWORD DEVICE_DRIVER::flags [inherited]
 

Combination of DF_xx

Definition at line 898 of file midas.h.

INT eqpmnt::format [inherited]
 

FORMAT_xxx

Definition at line 940 of file midas.h.

Referenced by register_equipment(), and scheduler().

char EQUIPMENT_INFO::format[8] [inherited]
 

Data format to produce

Definition at line 908 of file midas.h.

Referenced by load_fragment(), and register_equipment().

char EQUIPMENT_INFO::frontend_file_name[256] [inherited]
 

Source file used for user FE

Definition at line 917 of file midas.h.

Referenced by register_equipment().

char EQUIPMENT_INFO::frontend_host[NAME_LENGTH] [inherited]
 

Host on which FE is running

Definition at line 915 of file midas.h.

Referenced by register_equipment().

char EQUIPMENT_INFO::frontend_name[NAME_LENGTH] [inherited]
 

Frontend name

Definition at line 916 of file midas.h.

Referenced by register_equipment().

DWORD HISTORY::hist_fh [inherited]
 

Definition at line 1117 of file midas.h.

void* ANA_MODULE::histo_folder [inherited]
 

Definition at line 1017 of file midas.h.

INT EQUIPMENT_INFO::history [inherited]
 

Log history

Definition at line 914 of file midas.h.

Referenced by interrupt_routine(), scheduler(), and send_event().

HNDLE ANALYZE_REQUEST::hkey_common [inherited]
 

Key to common subtree

Definition at line 1049 of file midas.h.

HNDLE ANALYZE_REQUEST::hkey_variables [inherited]
 

Key to variables subtree in ODB

Definition at line 1048 of file midas.h.

HNDLE eqpmnt::hkey_variables [inherited]
 

Key to variables subtree in ODB

Definition at line 942 of file midas.h.

Referenced by register_equipment(), and scheduler().

char AR_INFO::host[NAME_LENGTH] [inherited]
 

Host on which analyzer is running

Definition at line 1027 of file midas.h.

INT BUFFER::index [inherited]
 

connection index / tid

Definition at line 848 of file midas.h.

Referenced by bm_open_buffer().

DWORD HISTORY::index_fh [inherited]
 

Definition at line 1118 of file midas.h.

EQUIPMENT_INFO eqpmnt::info [inherited]
 

From above

Definition at line 930 of file midas.h.

Referenced by interrupt_routine(), load_fragment(), main(), register_equipment(), scan_fragment(), scheduler(), send_all_periodic_events(), send_event(), and tr_start().

INT(* ANA_MODULE::init)() [inherited]
 

Pointer to init routine

char** ANA_MODULE::init_str [inherited]
 

Parameter init string

Definition at line 1015 of file midas.h.

char** BANK_LIST::init_str [inherited]
 

Definition at line 990 of file midas.h.

Referenced by register_equipment().

char** ANALYZE_REQUEST::init_string [inherited]
 

Definition at line 1044 of file midas.h.

INT KEY::item_size [inherited]
 

Size of single data item

Definition at line 859 of file midas.h.

Referenced by db_copy(), db_create_key(), db_get_data(), db_get_data_index(), db_get_key_info(), db_get_record(), db_get_record_size(), db_get_value(), db_open_database(), db_save_xml_key(), db_set_data(), db_set_data_index(), db_set_record(), db_set_value(), and update_odb().

double EQUIPMENT_STATS::kbytes_per_sec [inherited]
 

Definition at line 923 of file midas.h.

Referenced by register_equipment(), scan_fragment(), and scheduler().

DWORD BUFFER_CLIENT::last_activity [inherited]
 

time of last activity

Definition at line 810 of file midas.h.

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

DWORD eqpmnt::last_called [inherited]
 

Last time event was read

Definition at line 937 of file midas.h.

Referenced by interrupt_routine(), scheduler(), and send_event().

DWORD eqpmnt::last_idle [inherited]
 

Last time idle func was called

Definition at line 938 of file midas.h.

Referenced by scheduler().

INT KEY::last_written [inherited]
 

Time of last write action

Definition at line 864 of file midas.h.

Referenced by db_get_key_time(), db_set_data(), db_set_data_index(), and db_set_value().

INT BUFFER_HEADER::max_client_index [inherited]
 

index of last client

Definition at line 820 of file midas.h.

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

INT BUFFER_CLIENT::max_request_index [inherited]
 

index of last request

Definition at line 801 of file midas.h.

Referenced by bm_remove_event_request().

HNDLE BUFFER::mutex [inherited]
 

mutex/semaphore handle

Definition at line 846 of file midas.h.

DWORD BANK_LIST::n_data [inherited]
 

Definition at line 993 of file midas.h.

DWORD TAG::n_data [inherited]
 

Definition at line 983 of file midas.h.

DWORD HISTORY::n_tag [inherited]
 

Definition at line 1115 of file midas.h.

char KEY::name[NAME_LENGTH] [inherited]
 

name of variable

Definition at line 856 of file midas.h.

Referenced by cm_check_client(), cm_shutdown(), cm_transition(), db_check_record(), db_copy(), db_create_key(), db_find_key(), db_get_data(), db_get_data_index(), db_get_key_info(), db_get_record(), db_open_database(), db_save_struct(), db_save_xml_key(), db_set_data(), db_set_data_index(), db_set_record(), and load_fragment().

INT KEY::next_key [inherited]
 

Address of next key

Definition at line 862 of file midas.h.

Referenced by db_create_key(), db_delete_key1(), db_enum_key(), and db_find_key().

WORD KEY::notify_count [inherited]
 

Notify counter

Definition at line 861 of file midas.h.

Referenced by cm_cleanup(), db_delete_key1(), and db_open_database().

INT BUFFER_HEADER::num_clients [inherited]
 

no of active clients

Definition at line 819 of file midas.h.

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

INT BUFFER_HEADER::num_in_events [inherited]
 

no of received events

Definition at line 824 of file midas.h.

Referenced by bm_flush_cache(), and bm_send_event().

INT KEYLIST::num_keys [inherited]
 

number of keys

Definition at line 869 of file midas.h.

Referenced by db_create_key(), db_delete_key1(), db_enum_key(), db_find_key(), db_get_key_info(), and db_open_database().

INT BUFFER_HEADER::num_out_events [inherited]
 

no of distributed events

Definition at line 825 of file midas.h.

Referenced by bm_push_event(), and bm_receive_event().

INT BUFFER_CLIENT::num_received_events [inherited]
 

no of received events

Definition at line 802 of file midas.h.

INT BUFFER_CLIENT::num_sent_events [inherited]
 

no of sent events

Definition at line 803 of file midas.h.

DWORD EQUIPMENT_INFO::num_subevents [inherited]
 

Number of events in super event

Definition at line 913 of file midas.h.

Referenced by scheduler().

INT KEY::num_values [inherited]
 

number of values

Definition at line 855 of file midas.h.

Referenced by cm_register_transition(), cm_transition(), db_check_record(), db_copy(), db_create_key(), db_get_data(), db_get_data_index(), db_get_key_info(), db_get_record(), db_get_record_size(), db_get_value(), db_open_database(), db_save_xml_key(), db_set_data(), db_set_data_index(), db_set_record(), db_set_value(), tr_start(), and update_odb().

INT BUFFER_CLIENT::num_waiting_events [inherited]
 

no of waiting events

Definition at line 804 of file midas.h.

Referenced by bm_send_event().

struct { ... } ANALYZE_REQUEST::number [inherited]
 

Buffer for event number for CWNT

DWORD eqpmnt::odb_in [inherited]
 

# updated ODB -> FE

Definition at line 946 of file midas.h.

Referenced by tr_start().

DWORD eqpmnt::odb_out [inherited]
 

# updates FE -> ODB

Definition at line 945 of file midas.h.

Referenced by interrupt_routine(), scheduler(), send_event(), and tr_start().

DWORD INDEX_RECORD::offset [inherited]
 

Definition at line 1109 of file midas.h.

INT RUNINFO::online_mode [inherited]
 

Mode of operation online/offline

Definition at line 1137 of file midas.h.

Referenced by ana_end_of_run().

BOOL BANK_LIST::output_flag [inherited]
 

Definition at line 991 of file midas.h.

INT ANA_MODULE::param_size [inherited]
 

Size of parameter structure

Definition at line 1014 of file midas.h.

void* ANA_MODULE::parameters [inherited]
 

Pointer to parameter structure

Definition at line 1013 of file midas.h.

INT KEY::parent_keylist [inherited]
 

keylist to which this key belongs

Definition at line 863 of file midas.h.

Referenced by db_create_key(), db_delete_key1(), db_enum_key(), db_find_key(), and db_open_database().

INT EQUIPMENT_INFO::period [inherited]
 

Readout interval/Polling time in ms

Definition at line 911 of file midas.h.

Referenced by register_equipment(), and scheduler().

INT BUFFER_CLIENT::pid [inherited]
 

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().

DWORD eqpmnt::poll_count [inherited]
 

Needed to poll 'period'

Definition at line 939 of file midas.h.

Referenced by register_equipment(), and scheduler().

INT BUFFER_CLIENT::port [inherited]
 

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().

DWORD ANA_TEST::previous_count [inherited]
 

Definition at line 1068 of file midas.h.

char* BUFFER::read_cache [inherited]
 

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 [inherited]
 

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 [inherited]
 

cache size in bytes

Definition at line 839 of file midas.h.

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

INT BUFFER::read_cache_wp [inherited]
 

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 EQUIPMENT_INFO::read_on [inherited]
 

Combination of Read-On flags RO_xxx

Definition at line 910 of file midas.h.

Referenced by interrupt_routine(), scheduler(), send_all_periodic_events(), and send_event().

INT BUFFER_HEADER::read_pointer [inherited]
 

read pointer

Definition at line 822 of file midas.h.

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

INT BUFFER_CLIENT::read_pointer [inherited]
 

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 [inherited]
 

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(* eqpmnt::readout)(char *, INT) [inherited]
 

Pointer to user readout routine

Referenced by interrupt_routine(), scheduler(), and send_event().

BOOL ANA_TEST::registered [inherited]
 

Definition at line 1066 of file midas.h.

HNDLE ANALYZE_REQUEST::request_id [inherited]
 

Event request handle

Definition at line 1047 of file midas.h.

INT RUNINFO::requested_transition [inherited]
 

Deferred transition request

Definition at line 1140 of file midas.h.

DWORD { ... } ::run [inherited]
 

Definition at line 1052 of file midas.h.

INT RUNINFO::run_number [inherited]
 

Current processing run number

Definition at line 1138 of file midas.h.

Referenced by ana_end_of_run().

INT ANALYZE_REQUEST::rwnt_buffer_size [inherited]
 

Size in events of RW N-tuple buf

Definition at line 1042 of file midas.h.

INT AR_INFO::sampling_type [inherited]
 

GET_ALL/GET_SOME

Definition at line 1023 of file midas.h.

INT EVENT_REQUEST::sampling_type [inherited]
 

GET_ALL, GET_SOME, GET_FARM dispatch function

Definition at line 789 of file midas.h.

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

DWORD { ... } ::serial [inherited]
 

Definition at line 1053 of file midas.h.

DWORD ANALYZE_REQUEST::serial [inherited]
 

Definition at line 1053 of file midas.h.

DWORD eqpmnt::serial_number [inherited]
 

event serial number

Definition at line 943 of file midas.h.

Referenced by interrupt_routine(), scheduler(), send_event(), and tr_start().

DWORD EVENT_HEADER::serial_number [inherited]
 

serial number starting from one

Definition at line 732 of file midas.h.

Referenced by bm_compose_event(), bm_receive_event(), interrupt_routine(), scheduler(), and send_event().

INT BUFFER::shm_handle [inherited]
 

handle to shared memory

Definition at line 847 of file midas.h.

Referenced by bm_close_buffer(), and bm_open_buffer().

DWORD BANK_LIST::size [inherited]
 

Definition at line 989 of file midas.h.

INT BUFFER_HEADER::size [inherited]
 

size of data area in bytes

Definition at line 821 of file midas.h.

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

INT EQUIPMENT_INFO::source [inherited]
 

Event source (LAM/IRQ)

Definition at line 907 of file midas.h.

Referenced by main(), register_equipment(), and scheduler().

char PROGRAM_INFO::start_command[256] [inherited]
 

Definition at line 1176 of file midas.h.

Referenced by cm_transition().

char RUNINFO::start_time[32] [inherited]
 

ASCII of the last start time

Definition at line 1141 of file midas.h.

Referenced by ana_end_of_run().

DWORD RUNINFO::start_time_binary [inherited]
 

Bin of the last start time

Definition at line 1142 of file midas.h.

EQUIPMENT_STATS eqpmnt::stats [inherited]
 

Definition at line 949 of file midas.h.

Referenced by close_buffers(), register_equipment(), scan_fragment(), scheduler(), tr_start(), and tr_stop().

INT ANALYZE_REQUEST::status [inherited]
 

One of FE_xxx

Definition at line 1045 of file midas.h.

INT eqpmnt::status [inherited]
 

One of FE_xxx

Definition at line 936 of file midas.h.

Referenced by display(), main(), register_equipment(), scheduler(), and send_all_periodic_events().

BOOL ALARM_CLASS::stop_run [inherited]
 

Definition at line 1214 of file midas.h.

char RUNINFO::stop_time[32] [inherited]
 

ASCII of the last stop time

Definition at line 1143 of file midas.h.

DWORD RUNINFO::stop_time_binary [inherited]
 

ASCII of the last stop time

Definition at line 1144 of file midas.h.

DWORD eqpmnt::subevent_number [inherited]
 

subevent number

Definition at line 944 of file midas.h.

Referenced by scheduler(), and tr_start().

INT ALARM_CLASS::system_message_interval [inherited]
 

Definition at line 1209 of file midas.h.

DWORD ALARM_CLASS::system_message_last [inherited]
 

Definition at line 1210 of file midas.h.

TAG* HISTORY::tag [inherited]
 

Definition at line 1116 of file midas.h.

INT BUFFER_CLIENT::thandle [inherited]
 

thread handle

Definition at line 798 of file midas.h.

Referenced by bm_open_buffer().

INT BUFFER_CLIENT::tid [inherited]
 

thread ID

Definition at line 797 of file midas.h.

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

DWORD INDEX_RECORD::time [inherited]
 

Definition at line 1108 of file midas.h.

DWORD HIST_RECORD::time [inherited]
 

Definition at line 1095 of file midas.h.

DWORD { ... } ::time [inherited]
 

Definition at line 1054 of file midas.h.

DWORD ANALYZE_REQUEST::time [inherited]
 

Definition at line 1054 of file midas.h.

DWORD EVENT_HEADER::time_stamp [inherited]
 

time of production of event

Definition at line 733 of file midas.h.

Referenced by bm_compose_event(), bm_receive_event(), interrupt_routine(), scheduler(), and send_event().

char ALARM::time_triggered_first[32] [inherited]
 

Definition at line 1242 of file midas.h.

Referenced by al_trigger_alarm().

char ALARM::time_triggered_last[32] [inherited]
 

Definition at line 1243 of file midas.h.

Referenced by al_trigger_alarm().

INT KEY::total_size [inherited]
 

Total size of data block

Definition at line 858 of file midas.h.

Referenced by db_copy(), db_create_key(), db_delete_key1(), db_open_database(), db_save_xml_key(), db_set_data(), db_set_data_index(), db_set_record(), db_set_value(), and tr_start().

INT RUNINFO::transition_in_progress [inherited]
 

Intermediate state during transition

Definition at line 1139 of file midas.h.

INT AR_INFO::trigger_mask [inherited]
 

Trigger mask

Definition at line 1022 of file midas.h.

WORD EQUIPMENT_INFO::trigger_mask [inherited]
 

Trigger mask

Definition at line 904 of file midas.h.

Referenced by interrupt_routine(), scheduler(), send_event(), and source_scan().

short int EVENT_REQUEST::trigger_mask [inherited]
 

trigger mask

Definition at line 788 of file midas.h.

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

short int EVENT_HEADER::trigger_mask [inherited]
 

hardware trigger mask

Definition at line 731 of file midas.h.

Referenced by bm_compose_event(), bm_match_event(), bm_receive_event(), interrupt_routine(), scheduler(), and send_event().

INT ALARM::triggered [inherited]
 

Definition at line 1238 of file midas.h.

Referenced by al_trigger_alarm().

INT ALARM::type [inherited]
 

Definition at line 1239 of file midas.h.

Referenced by al_trigger_alarm().

WORD BANK_LIST::type [inherited]
 

Definition at line 988 of file midas.h.

Referenced by register_equipment().

DWORD TAG::type [inherited]
 

Definition at line 982 of file midas.h.

DWORD BANK32::type [inherited]
 

Definition at line 976 of file midas.h.

Referenced by bk_close(), bk_create(), bk_find(), bk_locate(), bk_swap(), and update_odb().

WORD BANK::type [inherited]
 

Definition at line 970 of file midas.h.

Referenced by bk_close(), bk_create(), bk_find(), bk_locate(), bk_swap(), and update_odb().

BOOL ANALYZE_REQUEST::use_tests [inherited]
 

Use tests for this event

Definition at line 1043 of file midas.h.

BOOL EVENT_REQUEST::valid [inherited]
 

indicating a valid entry

Definition at line 786 of file midas.h.

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

BOOL ANA_TEST::value [inherited]
 

Definition at line 1069 of file midas.h.

BOOL BUFFER_CLIENT::wake_up [inherited]
 

client got a wake-up msg

Definition at line 808 of file midas.h.

INT PROGRAM_INFO::watchdog_timeout [inherited]
 

Definition at line 1174 of file midas.h.

DWORD BUFFER_CLIENT::watchdog_timeout [inherited]
 

timeout in ms

Definition at line 811 of file midas.h.

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

char* BUFFER::write_cache [inherited]
 

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 [inherited]
 

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 [inherited]
 

cache size in bytes

Definition at line 843 of file midas.h.

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

INT BUFFER::write_cache_wp [inherited]
 

cache write pointer

Definition at line 845 of file midas.h.

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

BOOL ALARM_CLASS::write_elog_message [inherited]
 

Definition at line 1208 of file midas.h.

INT BUFFER_HEADER::write_pointer [inherited]
 

read pointer

Definition at line 823 of file midas.h.

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

INT BUFFER_CLIENT::write_wait [inherited]
 

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 - 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 - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk