GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-2-2 > qse / sun-gcc
#include "QSE/QDF_tkr.h"
#include "QDF_tkr_def.h"
#include "QSD/QFR_file.h"
#include "QSD/QFR_cdm.h"
#include "LSE/CDF_tkrdef.h"
#include "TCC_DB/TCC_DB_schema.h"
#include <stdio.h>
Defines | |
#define | NULL ((void *)0) |
Functions | |
static unsigned int | tkrCtxCfgConstruct (QDF_tkrCtx *ctx, const TCC_DB_schema *schema, const char *name) |
Constructs the TKR configuration from the specified database. | |
static int | splits_construct (QDF_tkrSplits *splits, const TCC_DB_schema *schema) |
Constructs the Tracker Split Point database. | |
static __inline void | splits_default_construct (QDF_tkrSplits *splits) |
Initializes the track split points to their default values. | |
int | QDF_tkrCtxSizeof (unsigned int level, void *prm) |
Returns the size, in bytes of the TKR decoding context needed to support the specified compression level. | |
QDF_tkrCtx * | QDF_tkrCtxConstruct (QDF_tkrCtx *ctx, unsigned int level, QDF_tkrCache *cache, const QSE_ctx *qse) |
Constructs (initializes) the specified TKR decoding context structure. | |
int | QDF_tkrCtxUpdate (QDF_tkrCtx *ctx, QFR_fileCtx *qfr, const CDF_tkrBdy *bdy) |
Updates the ACD context from the datagram contribution. | |
static int | fill_splits (QDF_tkrSplits *splits, int twr, int lyr, int lo, int hi) |
int | QDF_tkrEvtSizeof (unsigned int level, void *prm) |
Returns the size, in bytes of QDF_tkr event needed to support the specified compression level. | |
QDF_tkrEvt * | QDF_tkrEvtConstruct (QDF_tkrEvt *evt, unsigned int level, void *prm, QDF_exc *exc, QDF_esbEvt *esb, QDF_gemEvt *gem, QDF_errEvt *err) |
Constructs (initializes) the specified TKR event structure. |
CVS $Id: QDF_tkr.c,v 1.6 2009/05/01 01:19:38 russell Exp $
QDF_esbCtx * QDF_tkrCtxConstruct | ( | QDF_tkrCtx * | ctx, | |
unsigned int | level, | |||
QDF_tkrCache * | cache, | |||
const QSE_ctx * | qse | |||
) |
Constructs (initializes) the specified TKR decoding context structure.
ctx | The context structure to construct. | |
level | The maximum level of compression that will be supported. | |
cache | The TKR caches | |
qse | Pointer to the public/generic QSE context parameter |
int QDF_tkrCtxSizeof | ( | unsigned int | level, | |
void * | prm | |||
) |
Returns the size, in bytes of the TKR decoding context needed to support the specified compression level.
level | The maximum level of compression that needs to be supported | |
prm | Additional configuation parameter, unused as of now |
int QDF_tkrCtxUpdate | ( | QDF_tkrCtx * | ctx, | |
QFR_fileCtx * | qfr, | |||
const CDF_tkrBdy * | bdy | |||
) |
Updates the ACD context from the datagram contribution.
0,Success | ||
0x80000001,Pedestal | file error, not found | |
0x80000002,Pedestal | file error, checksum does not match |
ctx | The context to update | |
qfr | The file translation context | |
bdy | The update information |
QDF_esbCtx * QDF_tkrEvtConstruct | ( | QDF_tkrEvt * | evt, | |
unsigned int | level, | |||
void * | prm, | |||
QDF_exc * | exc, | |||
QDF_esbEvt * | esb, | |||
QDF_gemEvt * | gem, | |||
QDF_errEvt * | err | |||
) |
Constructs (initializes) the specified TKR event structure.
evt | The TKR event structure to construct. | |
level | The maximum level of compression that will be supported. | |
prm | Additional configuation parameter, unused as of now | |
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 | |
err | Pointer to the ERR data for this event |
int QDF_tkrEvtSizeof | ( | unsigned int | level, | |
void * | prm | |||
) |
Returns the size, in bytes of QDF_tkr event needed to support the specified compression level.
level | The maximum level of compression that needs to be supported | |
prm | Additional configuation parameter, unused as of now |
static int splits_construct | ( | QDF_tkrSplits * | splits, | |
const TCC_DB_schema * | schema | |||
) | [static] |
Constructs the Tracker Split Point database.
splits | The Tracker Split Point database to fill | |
schema | The Tracker Configuration database |
static __inline void splits_default_construct | ( | QDF_tkrSplits * | splits | ) | [static] |
Initializes the track split points to their default values.
splits | The TKR split point limits structure to initialize |
static unsigned int tkrCtxCfgConstruct | ( | QDF_tkrCtx * | ctx, | |
const TCC_DB_schema * | schema, | |||
const char * | name | |||
) | [static] |
Constructs the TKR configuration from the specified database.
!= | 0 The checksum. | |
== | 0 Failure (0 is not a valid checksum |
ctx | The TKR context structure | |
schema | The TKR configuration database schema | |
name | The TKR configuration file name, |