GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-11-6 > ebfio / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

ESX.h File Reference

Event Stream Extract tools. More...


Typedefs

typedef struct _ESX_ctl ESX_ctl
 Typedef for struct _ESX_ctl.
typedef struct _EBF_dir EBF_dir
typedef struct _EBF_stream EBF_stream

Functions

unsigned int ESX_sizeof (void)
void ESX_construct (ESX_ctl *esx)
unsigned int ESX_establish (ESX_ctl *esx)
unsigned int ESX_set_verbose (ESX_ctl *esx, unsigned int verbose)
void ESX_parse_oname (ESX_ctl *esx, const char *s)
void ESX_parse_ochunk (ESX_ctl *esx, const char *s)
void ESX_parse_ichunk (ESX_ctl *esx, const char *s)
void ESX_parse_bsize (ESX_ctl *esx, const char *s)
void ESX_parse_osize (ESX_ctl *esx, const char *s)
int ESX_evt_declare (ESX_ctl *esx)
 Declares an input event has been seen. This information is used to determine whether to trigger the creation of a new output file.
int ESX_dir_write (ESX_ctl *esx, EBF_dir *dir)
 Writes the event.
void ESX_close (ESX_ctl *esx)
 Closes the output stream.


Detailed Description

Event Stream Extract tools.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: ESX.h,v 1.1 2007/02/14 01:06:38 russell Exp $

Function Documentation

void ESX_close ( ESX_ctl esx  ) 

Closes the output stream.

Parameters:
esx The control block

References EBF_streamClose(), EBF_streamFree(), and _ESX_ctl::stream.

int ESX_dir_write ( ESX_ctl esx,
EBF_dir dir 
)

Writes the event.

Returns:
Status
Parameters:
esx The control structure
dir The directory of the event to write out

References _ESX_ctl::bsize, EBF_streamDirCopy(), EBF_streamDirCopySize(), EBF_streamDirWrite(), EBF_streamDirWriteSize(), EBF_streamPktSizeFind(), ESX_change(), ESX_evt_declare(), _EBF_dirRedux::evt_len, _ESX_ctl::jevents, _ESX_ctl::new, _EBF_dir::redux, and _ESX_ctl::stream.

int ESX_evt_declare ( ESX_ctl esx  ) 

Declares an input event has been seen. This information is used to determine whether to trigger the creation of a new output file.

Parameters:
esx The control structure

References _ESX_ctl::jevents, and _ESX_ctl::new.

Referenced by ESX_dir_write().


Generated on Fri Dec 9 16:26:08 2011 by  doxygen 1.5.8