GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-10-2 > eds / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

EDR_errUnpack.h File Reference

Defines the interface to the ERR LAT unpacking routines. More...


Functions

int EDR_errUnpack (EDR_err *err, const EBF_dir *dir, unsigned int map)
 Unpacks the error records for the components specified by map of TEMs.
int EDR_errUnpackInit (EDR_err *err)
 One-time initialization an EDR_err structure.
int EDR_errUnpackSizeof (void)
 Returns the size, in bytes, of a ERR LAT record.
void EDR_errUnpackReset (EDR_err *err)
 Resets the EDR_err structure, preparing it for a new event.


Detailed Description

Defines the interface to the ERR LAT unpacking routines.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: EDR_errUnpack.h,v 1.1 2009/04/29 19:47:10 russell Exp $

Function Documentation

int EDR_errUnpack ( EDR_err err,
const EBF_dir dir,
unsigned int  map 
)

Unpacks the error records for the components specified by map of TEMs.

Returns:
A bit mask of the CAL and TKR contributions that are seriously flawed, that is, one should not trust the unpacking.
Parameters:
err The error context block to compose
dir The target directory structure
map The map of components to unpacke

int EDR_errUnpackInit ( EDR_err err  ) 

One-time initialization an EDR_err structure.

Returns:
0, always
Parameters:
err The EDR_err structure to initialize

void EDR_errUnpackReset ( EDR_err err  ) 

Resets the EDR_err structure, preparing it for a new event.

Parameters:
err The EDR_err structure to reset

int EDR_errUnpackSizeof ( void   ) 

Returns the size, in bytes, of a ERR LAT record.

Returns:
The size, in bytes, of a ERR LAT record.
This function should be called to determine the size of an EDR_err structure. This allows the calling program to avoid including the structure definition an EDR_err.

After allocating an EDR_err structure, the structure should be initialized using EDR_errUnpackInit().


Generated on Thu Sep 2 12:25:24 2010 by  doxygen 1.5.3