GSI Object Oriented Online Offline (Go4)
GO4-6.2.0
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
MbsAPI
s_clnt_filter.h
Go to the documentation of this file.
1
// $Id: s_clnt_filter.h 3348 2021-10-18 14:18:11Z linev $
2
//-----------------------------------------------------------------------
3
// The GSI Online Offline Object Oriented (Go4) Project
4
// Experiment Data Processing at EE department, GSI
5
//-----------------------------------------------------------------------
6
// Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7
// Planckstr. 1, 64291 Darmstadt, Germany
8
// Contact: http://go4.gsi.de
9
//-----------------------------------------------------------------------
10
// This software can be used under the license agreements as stated
11
// in Go4License.txt file which is part of the distribution.
12
//-----------------------------------------------------------------------
13
14
/* filter structure for CLIENT */
15
16
#ifndef S_CLNT_FILTER_H
17
#define S_CLNT_FILTER_H
18
19
#include "
gps_sc_def.h
"
20
21
#if MBS_ENDIAN == 1
22
23
struct
s_clnt_filter
24
{
25
/* -------> Swapped <-------- */
26
/* --------=========--------- */
27
/* --- control byte ordering and machine type (2LW) ---- */
28
unsigned
long
l_testbit
;
/* bit pattern */
29
unsigned
long
l_endian
;
/* endian of sender */
30
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
31
long
l_numb_of_evt
;
/* numb of events to send */
32
long
l_sample_rate
;
/* flt match sample rate */
33
long
l_flush_rate
;
/* buffer flushing rate [sec]*/
34
struct
s_filter
filter
[
GPS__MAXFLT
];
/* 32 filter express (3LW) */
35
struct
s_flt_descr
flt_descr
[
GPS__MAXFLTDESCR
];
/* Filter descriptor*/
36
short
unsigned
if_fltsev
;
/* filter on subevent */
37
short
unsigned
if_fltevt
;
/* filter on event */
38
short
unsigned
if_wrtsev
;
/* write subevts (numb of sev)*/
39
short
unsigned
if_wrtevt
;
/* write whole event */
40
};
41
42
#else
43
44
struct
s_clnt_filter
45
{
46
/* --- control byte ordering and machine type (2LW) ---- */
47
unsigned
int
l_testbit
;
/* bit pattern */
48
unsigned
int
l_endian
;
/* endian of sender */
49
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
50
int
l_numb_of_evt
;
/* numb of events to send */
51
int
l_sample_rate
;
/* flt match sample rate */
52
int
l_flush_rate
;
/* buffer flushing rate [sec]*/
53
struct
s_filter
filter
[
GPS__MAXFLT
];
/* 32 filter express (3LW) */
54
struct
s_flt_descr
flt_descr
[
GPS__MAXFLTDESCR
];
/* Filter descriptor*/
55
short
unsigned
if_fltevt
;
/* filter on event */
56
short
unsigned
if_fltsev
;
/* filter on subevent */
57
short
unsigned
if_wrtevt
;
/* write whole event */
58
short
unsigned
if_wrtsev
;
/* write subevts (numb of sev)*/
59
};
60
61
#endif
62
63
#endif
s_clnt_filter::if_fltsev
short unsigned if_fltsev
Definition:
s_clnt_filter.h:56
s_flt_descr
Definition:
s_flt_descr.h:40
s_clnt_filter::l_sample_rate
int l_sample_rate
Definition:
s_clnt_filter.h:51
s_clnt_filter::if_wrtsev
short unsigned if_wrtsev
Definition:
s_clnt_filter.h:58
GPS__MAXFLTDESCR
#define GPS__MAXFLTDESCR
Definition:
gps_sc_def.h:37
s_clnt_filter::l_numb_of_evt
int l_numb_of_evt
Definition:
s_clnt_filter.h:50
s_clnt_filter::l_endian
unsigned int l_endian
Definition:
s_clnt_filter.h:48
GPS__MAXFLT
#define GPS__MAXFLT
Definition:
gps_sc_def.h:36
s_clnt_filter
Definition:
s_clnt_filter.h:44
s_clnt_filter::if_wrtevt
short unsigned if_wrtevt
Definition:
s_clnt_filter.h:57
s_clnt_filter::l_testbit
unsigned int l_testbit
Definition:
s_clnt_filter.h:47
s_clnt_filter::filter
struct s_filter filter[GPS__MAXFLT]
Definition:
s_clnt_filter.h:53
s_clnt_filter::flt_descr
struct s_flt_descr flt_descr[GPS__MAXFLTDESCR]
Definition:
s_clnt_filter.h:54
s_clnt_filter::l_flush_rate
int l_flush_rate
Definition:
s_clnt_filter.h:52
s_clnt_filter::if_fltevt
short unsigned if_fltevt
Definition:
s_clnt_filter.h:55
gps_sc_def.h
s_filter
Definition:
s_filter.h:24
Generated on Tue Apr 26 2022 16:39:54 for GSI Object Oriented Online Offline (Go4) by
1.8.8