16 #ifndef MBS_MbsTypeDefs
17 #define MBS_MbsTypeDefs
19 #ifndef MBS_LmdTypeDefs
45 #if BYTE_ORDER == LITTLE_ENDIAN
59 void Init(uint8_t crate = 0, uint16_t procid = 0, uint8_t control = 0)
89 void PrintData(
bool ashex =
true,
bool aslong =
true);
99 #if BYTE_ORDER == LITTLE_ENDIAN
155 #if BYTE_ORDER == LITTLE_ENDIAN
178 void Init(
bool newformat);
364 extern void SwapData(
void* data,
unsigned bytessize);
#define MBS_TYPE(typ, subtyp)
Support for MBS - standard GSI DAQ.
const char * comStartServer
const char * protocolMbst
void SwapData(void *data, unsigned bytessize)
const char * comStartFile
const char * xmlCombineCompleteOnly
const char * xmlServerLimit
const char * xmlSpecialTriggerLimit
const char * protocolMbss
int DefualtServerPort(int kind)
const char * xmlTextCharBuffer
int StrToServerKind(const std::string &str)
const char * comStopServer
const char * xmlServerScale
const char * xmlCheckSubeventIds
const char * xmlCombinerRatesPrefix
const char * xmlTextNumData
const char * xmlServerKind
const char * xmlEvidTolerance
const char * xmlServerPort
const char * ServerKindToStr(int kind)
const char * xmlTextHeaderLines
const char * xmlTextDataFormat
const char * xmlServerName
char c_devname[SBS__STR_LEN_64]
uint32_t bl_pipe_filled_KB
char c_date[SBS__STR_LEN_64]
char c_exprun[SBS__STR_LEN_64]
uint32_t bh_acqui_started
uint32_t bh_daqst_initalized
char c_anal_segm_name[SBS__STR_LEN_64]
char c_setup_name[SBS__STR_LEN_64]
uint32_t bl_evtsrv_maxcli
uint32_t bl_r_trig[SBS__N_TRG_TYP]
uint32_t bl_delayed_eb_ena
uint32_t bl_no_stream_buf
uint32_t bl_pipe_slots_filled
uint32_t bl_n_evserv_events
uint32_t bl_n_si[SBS__N_TRG_TYP]
uint32_t l_type[SYS__N_MAX_PROCS]
uint32_t bh_acqui_running
uint32_t bl_esosrv_maxcli
uint32_t bh_set_ml_loaded
uint32_t bl_r_si[SBS__N_TRG_TYP]
char c_display[SBS__STR_LEN_64]
char c_exper[SBS__STR_LEN_64]
char c_pathstr[SBS__STR_LEN_64]
uint32_t bh_cam_tab_loaded
uint32_t bl_n_evt[SBS__N_TRG_TYP]
uint32_t bl_strsrv_nosync
uint32_t bl_r_evt[SBS__N_TRG_TYP]
uint32_t bh_pact[SYS__N_MAX_PROCS]
uint32_t bl_r_evserv_kbytes
char c_remote[SBS__STR_LEN_64]
uint32_t l_sbs__n_trg_typ
uint32_t bh_running[SYS__N_MAX_PROCS]
uint32_t bl_rfio_connected
char c_out_chan[SBS__STR_LEN_64]
uint32_t bh_set_mo_loaded
int32_t l_pprio[SYS__N_MAX_PROCS]
uint32_t bl_event_build_on
char c_host[SBS__STR_LEN_64]
uint32_t bl_trans_connected
uint32_t bl_n_strserv_bufs
uint32_t bl_n_strserv_kbytes
uint32_t bl_n_trig[SBS__N_TRG_TYP]
uint32_t bl_strsrv_scaled
uint32_t bl_strsrv_nokeep
uint32_t bh_event_serv_ready
uint32_t bl_evtsrv_events
uint32_t l_sbs__str_len_64
uint32_t bl_r_strserv_bufs
uint32_t l_pid[SYS__N_MAX_PROCS]
uint32_t bl_r_strserv_kbytes
uint32_t bl_r_evserv_events
char c_pname[SYS__N_MAX_PROCS][SBS__STR_LEN_64]
uint32_t l_sys__n_max_procs
char c_readout_name[SBS__STR_LEN_64]
char c_tape_label[SBS__STR_LEN_64]
uint32_t bl_n_evserv_kbytes
char c_ml_setup_name[SBS__STR_LEN_64]
char c_user[SBS__STR_LEN_64]
MBS server info structure.