FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
f_evt.h File Reference
#include "typedefs.h"
#include "s_bufhe_swap.h"
#include "s_evhe_swap.h"
#include "s_ve10_1_swap.h"
#include "s_ves10_1_swap.h"

Go to the source code of this file.

Classes

struct  s_taghe
 
struct  s_tag
 
struct  s_evt_channel
 

Macros

#define MAX_BUF_LGTH   32768
 
#define MIN_BUF_LGTH   512
 
#define MAX_BUFS_IN_STREAM   100 /* at a maximum, 100 buffers per stream */
 
#define MAX_LONG   99999999 /* maximum long data */
 
#define GETEVT__FILE   1
 
#define GETEVT__STREAM   2
 
#define GETEVT__TRANS   3
 
#define GETEVT__EVENT   4
 
#define GETEVT__REVSERV   5
 
#define GETEVT__RFIO   6
 
#define GETEVT__TAGINDEX   10
 
#define GETEVT__TAGNUMBER   11
 
#define GETEVT__SUCCESS   0
 
#define GETEVT__FAILURE   1
 
#define GETEVT__FRAGMENT   2
 
#define GETEVT__NOMORE   3
 
#define GETEVT__NOFILE   4
 
#define GETEVT__NOSERVER   5
 
#define GETEVT__RDERR   6
 
#define GETEVT__CLOSE_ERR   7
 
#define GETEVT__NOCHANNEL   8
 
#define GETEVT__TIMEOUT   9
 
#define GETEVT__NOTAGFILE   10
 
#define GETEVT__NOTAG   11
 
#define GETEVT__TAGRDERR   12
 
#define GETEVT__TAGWRERR   13
 
#define GETEVT__NOLMDFILE   14
 
#define PUTEVT__SUCCESS   0
 
#define PUTEVT__FILE_EXIST   101
 
#define PUTEVT__FAILURE   102
 
#define PUTEVT__TOOBIG   103
 
#define PUTEVT__TOO_SMALLS   104
 
#define PUTEVT__CLOSE_ERR   105
 
#define PUTEVT__WRERR   106
 
#define PUTEVT__NOCHANNEL   107
 

Functions

INTS4 f_evt_cre_tagfile (CHARS *, CHARS *, INTS4(*)())
 
INTS4 f_evt_get_tagopen (s_evt_channel *, CHARS *, CHARS *, CHARS **, INTS4)
 
INTS4 f_evt_get_tagevent (s_evt_channel *, INTS4, INTS4, INTS4 **)
 
INTS4 f_evt_get_tagnext (s_evt_channel *, INTS4, INTS4 **)
 
INTS4 f_evt_get_tagclose (s_evt_channel *)
 
INTS4 f_evt_get_open (INTS4, CHARS *, s_evt_channel *, CHARS **, INTS4, INTS4)
 
INTS4 f_evt_get_event (s_evt_channel *, INTS4 **, INTS4 **)
 
INTS4 f_evt_get_subevent (s_ve10_1 *, INTS4, INTS4 **, INTS4 **, INTS4 *)
 
INTS4 f_evt_get_buffer (s_evt_channel *, INTS4 *)
 
INTS4 f_evt_get_close (s_evt_channel *)
 
CHARSf_evt_get_buffer_ptr (s_evt_channel *)
 
INTS4 f_evt_skip_buffer (s_evt_channel *, INTS4)
 
INTS4 f_evt_put_open (CHARS *, INTS4, INTS4, INTS4, INTS4, s_evt_channel *, CHARS *)
 
INTS4 f_evt_put_event (s_evt_channel *, INTS4 *)
 
INTS4 f_evt_put_buffer (s_evt_channel *, s_bufhe *)
 
INTS4 f_evt_put_close (s_evt_channel *)
 
INTS4 f_evt_type (s_bufhe *, s_evhe *, INTS4, INTS4, INTS4, INTS4)
 
INTS4 f_evt_error (INTS4, CHARS *, INTS4)
 
INTS4 f_evt_timeout (s_evt_channel *, INTS4)
 
INTS4 f_evt_rev_port (INTS4)
 
INTS4 f_evt_swap (CHARS *, INTS4)
 
s_evt_channelf_evt_control ()
 

Macro Definition Documentation

#define GETEVT__CLOSE_ERR   7

Definition at line 137 of file f_evt.h.

#define GETEVT__EVENT   4

Definition at line 122 of file f_evt.h.

#define GETEVT__FAILURE   1

Definition at line 131 of file f_evt.h.

#define GETEVT__FILE   1

Definition at line 119 of file f_evt.h.

#define GETEVT__FRAGMENT   2

Definition at line 132 of file f_evt.h.

#define GETEVT__NOCHANNEL   8

Definition at line 138 of file f_evt.h.

#define GETEVT__NOFILE   4

Definition at line 134 of file f_evt.h.

#define GETEVT__NOLMDFILE   14

Definition at line 144 of file f_evt.h.

#define GETEVT__NOMORE   3

Definition at line 133 of file f_evt.h.

#define GETEVT__NOSERVER   5

Definition at line 135 of file f_evt.h.

#define GETEVT__NOTAG   11

Definition at line 141 of file f_evt.h.

#define GETEVT__NOTAGFILE   10

Definition at line 140 of file f_evt.h.

#define GETEVT__RDERR   6

Definition at line 136 of file f_evt.h.

#define GETEVT__REVSERV   5

Definition at line 123 of file f_evt.h.

#define GETEVT__RFIO   6

Definition at line 124 of file f_evt.h.

#define GETEVT__STREAM   2

Definition at line 120 of file f_evt.h.

#define GETEVT__SUCCESS   0

Definition at line 130 of file f_evt.h.

#define GETEVT__TAGINDEX   10

Definition at line 125 of file f_evt.h.

#define GETEVT__TAGNUMBER   11

Definition at line 126 of file f_evt.h.

#define GETEVT__TAGRDERR   12

Definition at line 142 of file f_evt.h.

#define GETEVT__TAGWRERR   13

Definition at line 143 of file f_evt.h.

#define GETEVT__TIMEOUT   9

Definition at line 139 of file f_evt.h.

#define GETEVT__TRANS   3

Definition at line 121 of file f_evt.h.

#define MAX_BUF_LGTH   32768

Definition at line 28 of file f_evt.h.

#define MAX_BUFS_IN_STREAM   100 /* at a maximum, 100 buffers per stream */

Definition at line 30 of file f_evt.h.

#define MAX_LONG   99999999 /* maximum long data */

Definition at line 31 of file f_evt.h.

#define MIN_BUF_LGTH   512

Definition at line 29 of file f_evt.h.

#define PUTEVT__CLOSE_ERR   105

Definition at line 151 of file f_evt.h.

#define PUTEVT__FAILURE   102

Definition at line 148 of file f_evt.h.

#define PUTEVT__FILE_EXIST   101

Definition at line 147 of file f_evt.h.

#define PUTEVT__NOCHANNEL   107

Definition at line 153 of file f_evt.h.

#define PUTEVT__SUCCESS   0

Definition at line 146 of file f_evt.h.

#define PUTEVT__TOO_SMALLS   104

Definition at line 150 of file f_evt.h.

#define PUTEVT__TOOBIG   103

Definition at line 149 of file f_evt.h.

#define PUTEVT__WRERR   106

Definition at line 152 of file f_evt.h.

Function Documentation

s_evt_channel* f_evt_control ( )

Definition at line 3148 of file f_evt.c.

INTS4 f_evt_cre_tagfile ( CHARS ,
CHARS ,
INTS4(*)()   
)

Definition at line 2403 of file f_evt.c.

INTS4 f_evt_error ( INTS4  ,
CHARS ,
INTS4   
)

Definition at line 1756 of file f_evt.c.

INTS4 f_evt_get_buffer ( s_evt_channel ,
INTS4  
)

Definition at line 1869 of file f_evt.c.

CHARS* f_evt_get_buffer_ptr ( s_evt_channel )

Definition at line 2107 of file f_evt.c.

INTS4 f_evt_get_close ( s_evt_channel )

Definition at line 1189 of file f_evt.c.

INTS4 f_evt_get_event ( s_evt_channel ,
INTS4 **  ,
INTS4 **   
)

Definition at line 987 of file f_evt.c.

INTS4 f_evt_get_open ( INTS4  ,
CHARS ,
s_evt_channel ,
CHARS **  ,
INTS4  ,
INTS4   
)

Definition at line 555 of file f_evt.c.

INTS4 f_evt_get_subevent ( s_ve10_1 ,
INTS4  ,
INTS4 **  ,
INTS4 **  ,
INTS4  
)

Definition at line 228 of file f_evt.c.

INTS4 f_evt_get_tagclose ( s_evt_channel )

Definition at line 3128 of file f_evt.c.

INTS4 f_evt_get_tagevent ( s_evt_channel ,
INTS4  ,
INTS4  ,
INTS4 **   
)

Definition at line 2923 of file f_evt.c.

INTS4 f_evt_get_tagnext ( s_evt_channel ,
INTS4  ,
INTS4 **   
)

Definition at line 2873 of file f_evt.c.

INTS4 f_evt_get_tagopen ( s_evt_channel ,
CHARS ,
CHARS ,
CHARS **  ,
INTS4   
)

Definition at line 2717 of file f_evt.c.

INTS4 f_evt_put_buffer ( s_evt_channel ,
s_bufhe  
)

Definition at line 1620 of file f_evt.c.

INTS4 f_evt_put_close ( s_evt_channel )

Definition at line 1664 of file f_evt.c.

INTS4 f_evt_put_event ( s_evt_channel ,
INTS4  
)

Definition at line 1462 of file f_evt.c.

INTS4 f_evt_put_open ( CHARS ,
INTS4  ,
INTS4  ,
INTS4  ,
INTS4  ,
s_evt_channel ,
CHARS  
)

Definition at line 1310 of file f_evt.c.

INTS4 f_evt_rev_port ( INTS4  )

Definition at line 513 of file f_evt.c.

INTS4 f_evt_skip_buffer ( s_evt_channel ,
INTS4   
)

Definition at line 1959 of file f_evt.c.

INTS4 f_evt_swap ( CHARS ,
INTS4   
)

Definition at line 2033 of file f_evt.c.

INTS4 f_evt_timeout ( s_evt_channel ,
INTS4   
)

Definition at line 2013 of file f_evt.c.

INTS4 f_evt_type ( s_bufhe ,
s_evhe ,
INTS4  ,
INTS4  ,
INTS4  ,
INTS4   
)

Definition at line 306 of file f_evt.c.