GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-12-1 > eds / rhel6-64


Interface   Data Structures   File List   Data Fields   Globals  

EDR_acdUnpack.c File Reference

Routines to unpack the ACD data. More...

#include <EDS/EBF_dir.h>
#include <EDS/EBF_ctb.h>
#include <EDS/EBF_cid.h>
#include <EDS/EDA_acd.h>
#include <EDS/EDR_acd.h>
#include <EDS/EDR_acdUnpack.h>
#include <EDR_acdRemap.h>
#include <ACD_mapdef.h>
#include <PBI/FFS.ih>
#include <PBI/Endianness.h>
#include <PBI/PTR.h>

Functions

int EDR_acdUnpack (EDR_acd *acd, const EBF_dir *dir)
 Unpacks an ACD record from the AEM into a standard structure.
int EDR_acdUnpackInit (EDR_acd *acd)
 One-time initialization an EDR_acd structure.
void EDR_acdUnpackReset (EDR_acd *acd)
 Resets the EDR_acd structure, preparing it for a new event.
unsigned int EDR_acdUnpackSizeof (void)
 Returns the size, in bytes, of an EDR_acd structure.


Detailed Description

Routines to unpack the ACD data.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: EDR_acdUnpack.c,v 1.8 2011/03/25 22:16:56 russell Exp $

Function Documentation

int EDR_acdUnpack ( EDR_acd acd,
const EBF_dir dir 
)

int EDR_acdUnpackInit ( EDR_acd acd  ) 

One-time initialization an EDR_acd structure.

Returns:
0, always
Parameters:
acd The EDR_acd structure to initialize

References _EDR_acd::unpacked.

Referenced by initIxbObjTbl().

void EDR_acdUnpackReset ( EDR_acd acd  ) 

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

Parameters:
acd The EDR_acd structure to reset

References _EDR_acd::unpacked.

Referenced by initIxbObjTbl().

unsigned int EDR_acdUnpackSizeof ( void   ) 

Returns the size, in bytes, of an EDR_acd structure.

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

After allocating an EDR_acd structure, the structure should be initialized using EDR_acdUnpackInit().


Generated on Thu Sep 27 13:52:20 2012 by  doxygen 1.5.8