#include <cstdio>
#include <cstring>
#include <history.h>
#include "midas.h"
#include "mfe.h"
#include "odbxx.h"
Go to the source code of this file.
|
void | set_max_event_size (int size) |
|
void | set_event_buffer_size (int size) |
|
void | install_poll_event (INT(*f)(INT, INT, BOOL)) |
|
INT | poll_event (__attribute__((unused)) INT source, __attribute__((unused)) INT count, __attribute__((unused)) BOOL test) |
|
INT | interrupt_configure (__attribute__((unused)) INT cmd, __attribute__((unused)) INT source, __attribute__((unused)) PTYPE adr) |
|
void | install_frontend_exit (INT(*f)()) |
|
INT | frontend_exit () |
| Frontend exit.
|
|
void | install_begin_of_run (INT(*f)()) |
|
INT | begin_of_run (__attribute__((unused)) INT rn, __attribute__((unused)) char *error) |
|
void | install_end_of_run (INT(*f)()) |
|
INT | end_of_run (__attribute__((unused)) INT rn, __attribute__((unused)) char *error) |
|
void | install_pause_run (INT(*f)()) |
|
INT | pause_run (__attribute__((unused)) INT rn, __attribute__((unused)) char *error) |
|
void | install_resume_run (INT(*f)()) |
|
INT | resume_run (__attribute__((unused)) INT rn, __attribute__((unused)) char *error) |
|
void | install_frontend_loop (INT(*f)()) |
|
INT | frontend_loop () |
| Frontend loop.
|
|
◆ begin_of_run()
◆ end_of_run()
◆ frontend_exit()
Frontend exit.
Runs at frontend shutdown. Disconnect hardware and set equipment status in ODB
- Returns
- Midas status code
Definition at line 80 of file mfed.cxx.
◆ frontend_loop()
Frontend loop.
If frontend_call_loop is true, this routine gets called when the frontend is idle or once between every event.
- Returns
- Midas status code
Definition at line 162 of file mfed.cxx.
163{
166 else
169}
INT ss_sleep(INT millisec)
◆ install_begin_of_run()
void install_begin_of_run |
( |
INT(*)() |
f | ) |
|
◆ install_end_of_run()
void install_end_of_run |
( |
INT(*)() |
f | ) |
|
◆ install_frontend_exit()
void install_frontend_exit |
( |
INT(*)() |
f | ) |
|
◆ install_frontend_loop()
void install_frontend_loop |
( |
INT(*)() |
f | ) |
|
◆ install_pause_run()
void install_pause_run |
( |
INT(*)() |
f | ) |
|
◆ install_poll_event()
Definition at line 54 of file mfed.cxx.
55{
57}
INT(* p_poll_event)(INT, INT, BOOL)
◆ install_resume_run()
void install_resume_run |
( |
INT(*)() |
f | ) |
|
◆ interrupt_configure()
◆ pause_run()
◆ poll_event()
◆ resume_run()
◆ set_event_buffer_size()
void set_event_buffer_size |
( |
int |
size | ) |
|
◆ set_max_event_size()
void set_max_event_size |
( |
int |
size | ) |
|
◆ display_period
◆ event_buffer_size
INT event_buffer_size = 2 * 1024 * 1024 |
◆ frontend_call_loop
◆ max_event_size
INT max_event_size = 1024 * 1024 |
◆ max_event_size_frag
INT max_event_size_frag = 5 * 1024 * 1024 |
◆ p_begin_of_run
INT(* p_begin_of_run) () |
( |
| ) |
= NULL |
◆ p_end_of_run
◆ p_frontend_exit
INT(* p_frontend_exit) () |
( |
| ) |
= NULL |
◆ p_frontend_loop
INT(* p_frontend_loop) () |
( |
| ) |
= NULL |
◆ p_pause_run
◆ p_poll_event
◆ p_resume_run