GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-1-0 > lsew / rhel6-32
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. |
CVS $Id: CDF_cal.h,v 1.3 2007/02/14 04:10:49 russell Exp $
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.
cdf | The CDF_cal compress context structure | |
bdy | The CDF_calBdy structure to fill |
References _CDF_cal::com, _CDF_cal_refs::gains, _CDF_calBdy::gains, _CDF_cal_refs::peds, _CDF_calBdy::peds, and _CDF_cal_com::refs.
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.
Status |
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. |
References cal_com_construct(), _CDF_cal::com, _CDF_cal_com::hde, _CDF_cal::ped, and _CDF_cal_ped::stats.
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.
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.
Status |
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.
level | The maximum compression level to support |