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

Constituent: lsew     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

CDF_cal.h File Reference

Public interface to produce Compressed Data Format for the CAL contributor. More...

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


Functions

int CDF_calCfg_sizeof (int level)
 Returns the size, in bytes of the CAL compression configuration needed to support the specified level.
int CDF_calCfg_construct (CDF_calCfg *cfg, int level, void **mem)
 Constructs the CDF_calCfg compression configuration.
int CDF_cal_sizeof (int level, const CDF_calCfg *cfg)
 Returns the size, in bytes of the CAL compression structure needed to support the specified level.
int CDF_cal_construct (CDF_cal *cdf, int level, const CDF_calCfg *cfg, const LSEW_dgmFw *dgmFw, void **mem)
 Constructs the CDF_cal compression context.
void CDF_cal_begin (CDF_cal *cdf, CDF_calBdy *bdy)
 Fills int the CAL portion of the datagram contribution used in when decoding an CAL event.

Detailed Description

Public interface to produce Compressed Data Format for the CAL contributor.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: CDF_cal.h,v 1.3 2007/02/14 04:10:49 russell Exp $


Function Documentation

void CDF_cal_begin CDF_cal cdf,
CDF_calBdy bdy
 

Fills int the CAL portion of the datagram contribution used in when decoding an CAL event.

Parameters:
cdf The CDF_cal compress context structure
bdy The CDF_calBdy structure to fill

int CDF_cal_construct CDF_cal cdf,
int  level,
const CDF_calCfg *  cfg,
const LSEW_dgmFw dgmFw,
void **  mem
 

Constructs the CDF_cal compression context.

Return values:
Status 
Parameters:
cdf The CDF_cal 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_cal, else this routine will believe that the only the variable allocation of cdf needs to be allocated.

int CDF_cal_sizeof int  level,
const CDF_calCfg *  cfg
 

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

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

int CDF_calCfg_construct CDF_calCfg *  cfg,
int  level,
void **  mem
 

Constructs the CDF_calCfg 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_calCfg, else this routine will believe that the only the variable allocation of cdf needs to be allocated.

int CDF_calCfg_sizeof int  level  ) 
 

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

Parameters:
level The maximum compression level to support


Generated on Thu Oct 18 03:58:22 2007 by  doxygen 1.4.4