GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LSE / V1-3-5

Constituent: lsew     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

CDF_err.h File Reference

Public interface to produce Compressed Data Format for the diagnostic contributions. More...

This graph shows which files directly or indirectly include this file:


Functions

int CDF_errCfg_sizeof (int level)
 Returns the size, in bytes of the GEM compression configuration needed to support the specified level.
int CDF_errCfg_construct (CDF_errCfg *cfg, int level, void **mem)
 Constructs the CDF_erfCfg compression configuration.
int CDF_err_sizeof (int level, const CDF_errCfg *cfg)
 Returns the size, in bytes of the ERR compression structure needed to support the specified level.
int CDF_err_construct (CDF_err *cdf, int level, const CDF_errCfg *cfg, const LSEW_dgmFw *dgmFw, void **mem)
 Constructs the CDF_err compression context.
unsigned int CDF_err_compress (CDF_err *cdf, unsigned int *buf, unsigned int pos, const EBF_dir *dir)
 Compresses the ERR contributions.

Detailed Description

Public interface to produce Compressed Data Format for the diagnostic contributions.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: CDF_err.h,v 1.2 2007/02/14 04:10:50 russell Exp $


Function Documentation

unsigned int CDF_err_compress CDF_err cdf,
unsigned int *  buf,
unsigned int  pos,
const EBF_dir *  dir
 

Compresses the ERR contributions.

Returns:
The updated write bit position
Parameters:
cdf The ERR compression data formatting handle
buf The output buffer
pos The position of the next bit to fill
dir The directory describing the event to be formatted

int CDF_err_construct CDF_err cdf,
int  level,
const CDF_errCfg *  cfg,
const LSEW_dgmFw dgmFw,
void **  mem
 

Constructs the CDF_err compression context.

Return values:
Status 
Parameters:
cdf The CDF_err compress context structure to fill
level The maximum compression level that needs to be supported
cfg Target specific configuration parameter
dgmFw The datagram framework handle
mem Pointer to free memory pointer, return as the the updated pointer. If cdf is equal to the current contents of mem, then mem will be advanced by the size of CDF_err, else this routine will believe that the only the variable allocation of cdf needs to be allocated.

int CDF_err_sizeof int  level,
const CDF_errCfg *  cfg
 

Returns the size, in bytes of the ERR compression structure needed to support the specified level.

Parameters:
level The maximum compression level to support
cfg Target specific configuration

int CDF_errCfg_construct CDF_errCfg *  cfg,
int  level,
void **  mem
 

Constructs the CDF_erfCfg compression configuration.

Return values:
Status 
Parameters:
cfg Target specific configuration
level The maximum compression level that needs to be supported
mem Pointer to free memory pointer, return as the the updated pointer. If cfg is equal to the current contents of mem, then mem will be advanced by the size of CDF_errCfg else this routine will believe that the only the variable allocation of cdf needs to be allocated.

int CDF_errCfg_sizeof int  level  ) 
 

Returns the size, in bytes of the GEM compression configuration needed to support the specified level.

Parameters:
level The maximum compression level to support


Generated on Fri Feb 1 02:04:10 2008 by  doxygen 1.4.4