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


Interface   Data Structures   File List   Data Fields   Globals  

QDF_tem.h File Reference

Interface to the TEM decoding routines. More...

#include "LDT/BFU.h"

Typedefs

typedef struct
_QDF_temCache 
QDF_temCache
typedef struct
_QDF_temEvt 
QDF_temEvt
typedef struct
_QDF_temCtx 
QDF_temCtx
 Typedef for struct _QDF_temCtx.
typedef struct
_QDF_esbEvt 
QDF_esbEvt
typedef struct
_QDF_gemEvt 
QDF_gemEvt
typedef struct _QDF_exc QDF_exc
typedef struct _QSE_ctx QSE_ctx

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

Interface to the TEM decoding routines.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: QDF_tem.h,v 1.2 2008/09/19 21:58:17 russell Exp $

Function Documentation

QDF_temCtx* 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_temEvt* 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 Mon Jul 26 13:41:10 2010 by  doxygen 1.5.3