GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-3-0 > qse / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QDF_tem.c File Reference

Decodes the TEM data when in the encoded in standard fashion. More...

#include "QSE/QDF_tem.h"
#include "QSE/QDF_err.h"
#include "QSE/QDF_cal.h"
#include "QSE/QDF_tkr.h"
#include "QSE/QDF_dgn.h"
#include "QSE/QDF_temCache.h"
#include "QSE/QDF_temdef.h"

Defines

#define NULL   ((void *)(0))

Functions

int QDF_temCtxSizeof (unsigned int level, void *prm)
 Returns the size, in bytes of the TEM decoding context needed to support the specified compression level.
QDF_temCtxQDF_temCtxConstruct (QDF_temCtx *ctx, unsigned int level, QDF_temCache *cache, const QSE_ctx *qse, void *ptr)
 Constructs (initializes) the specified TEM decoding context structure.
int QDF_temEvtSizeof (unsigned int level, void *prm)
 Returns the size, in bytes of QDF_tem event needed to support the specified compression level.
QDF_temEvtQDF_temEvtConstruct (QDF_temEvt *evt, unsigned int level, void *prm, void *ptr, QDF_exc *exc, QDF_esbEvt *esb, QDF_gemEvt *gem)
 Constructs (initializes) the specified TEM event structure.


Detailed Description

Decodes the TEM data when in the encoded in standard fashion.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: QDF_tem.c,v 1.4 2009/05/01 01:09:11 russell Exp $

Function Documentation

QDF_esbCtx * QDF_temCtxConstruct ( QDF_temCtx ctx,
unsigned int  level,
QDF_temCache *  cache,
const QSE_ctx qse,
void *  ptr 
)

Constructs (initializes) the specified TEM decoding context structure.

Returns:
Pointer to the context structure to construct
Parameters:
ctx The context structure to construct.
level The maximum level of compression that will be supported.
cache The TEM caches
qse Pointer to the public/generic QSE context parameter
ptr Pointer to the memory pool to carve the various pieces from. It assumed that the user call QDF_temCtxSizeof to determine the necessary size.

int QDF_temCtxSizeof ( unsigned int  level,
void *  prm 
)

Returns the size, in bytes of the TEM decoding context needed to support the specified compression level.

Returns:
The size, in bytes, of the TEM decoding context
Parameters:
level The maximum level of compression that needs to be supported
prm Additional configuation parameter, unused as of now

QDF_esbEvt * QDF_temEvtConstruct ( QDF_temEvt evt,
unsigned int  level,
void *  prm,
void *  ptr,
QDF_exc exc,
QDF_esbEvt esb,
QDF_gemEvt gem 
)

Constructs (initializes) the specified TEM event structure.

Returns:
Pointer to the context structure to construct
Parameters:
evt The TEM event structure to construct.
level The maximum level of compression that will be supported.
prm Additional configuation parameter, unused as of now
ptr The available memory
exc Pointer to the global exception handling context
esb Pointer to the Event Summary Data for this event
gem Pointer to the GEM data for this event

int QDF_temEvtSizeof ( unsigned int  level,
void *  prm 
)

Returns the size, in bytes of QDF_tem event needed to support the specified compression level.

Returns:
The size, in bytes, of the TEM event
Parameters:
level The maximum level of compression that needs to be supported
prm Additional configuation parameter, unused as of now


Generated on Thu Sep 2 14:54:55 2010 by  doxygen 1.5.3