GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-2-2 > qse / sun-gcc
#include "LDT/BFU.h"
#include "EDS/EBF_ebw.h"
#include "EDS/EBF_esw.h"
#include "EDS/EBF_ctb.h"
Typedefs | |
typedef struct _QDF_esbEvt | QDF_esbEvt |
typedef struct _QDF_esbCtx | QDF_esbCtx |
typedef struct _QDF_exc | QDF_exc |
typedef struct _QSE_ctx | QSE_ctx |
Functions | |
int | QDF_esbCtxSizeof (unsigned int level, void *prm) |
Returns the size, in bytes of the Event Summary Block decoding context needed to support the specified compression level. | |
QDF_esbCtx * | QDF_esbCtxConstruct (QDF_esbCtx *ctx, unsigned int level, void *prm, const QSE_ctx *qse) |
Constructs (initializes) the specified Event Summary Block decoding context structure. | |
int | QDF_esbEvtSizeof (unsigned int level, void *prm) |
Returns the size, in bytes of QDF Event Summary Block needed to support the specified compression level. | |
QDF_esbEvt * | QDF_esbEvtConstruct (QDF_esbEvt *evt, unsigned int level, void *prm, QDF_exc *exc) |
Constructs (initializes) the specified Event Summary Block event structure. | |
BFU | QDF_esbDecode (QDF_esbCtx *ctx, QDF_esbEvt *evt, const unsigned int *src, unsigned int max, BFU bfu) |
Decodes the Event Summary Block. | |
EBF_ebw | QDF_esbEvtEbwGet (const QDF_esbEvt *evt, int cid) |
Returns the event builder word for the specified contributor id. | |
EBF_esw | QDF_esbEvtEswGet (const QDF_esbEvt *evt, int cid) |
Returns the event summary word for the specified contributor id. | |
EBF_ctbHdr | QDF_esbEvtCtbHdrGet (const QDF_esbEvt *evt, int cid) |
Returns the contributor header for the specified contributor id. | |
unsigned int | QDF_esbEvtCtidsGet (const QDF_esbEvt *evt) |
unsigned int | QDF_esbEvtCidsGet (const QDF_esbEvt *evt) |
Returns a mask of the contributor that are present. | |
unsigned int | QDF_esbEvtDgnidsGet (const QDF_esbEvt *evt) |
Returns the left-justified bit mask of TEMs with a diagnostic contribution. | |
unsigned int | QDF_esbEvtErridsGet (const QDF_esbEvt *evt) |
Returns the left-justified bit mask of TEMs with an error contribution. | |
unsigned int | QDF_esbEvtSeqGet (const QDF_esbEvt *evt) |
Returns the event sequence number. |
CVS $Id: QDF_esb.h,v 1.3 2009/05/01 01:01:52 russell Exp $
QDF_esbCtx * QDF_esbCtxConstruct | ( | QDF_esbCtx * | ctx, | |
unsigned int | level, | |||
void * | prm, | |||
const QSE_ctx * | qse | |||
) |
Constructs (initializes) the specified Event Summary Block decoding context structure.
ctx | The context structure to construct. | |
level | The maximum level of compression that will be supported. | |
prm | Additional configuation parameter, unused as of now | |
qse | Pointer to the public/generic QSE context parameter |
int QDF_esbCtxSizeof | ( | unsigned int | level, | |
void * | prm | |||
) |
Returns the size, in bytes of the Event Summary Block 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 |
BFU QDF_esbDecode | ( | QDF_esbCtx * | qdf, | |
QDF_esbEvt * | esb, | |||
const unsigned int * | src, | |||
unsigned int | max, | |||
BFU | bfu | |||
) |
Decodes the Event Summary Block.
qdf | The compressed data decoding context | |
esb | The event summary block to fill in | |
src | The data source, i.e. the bit stream | |
max | The maximum bit position | |
bfu | The current bit position and temporary buffer |
unsigned int QDF_esbEvtCidsGet | ( | const QDF_esbEvt * | evt | ) |
Returns a mask of the contributor that are present.
evt | The target ESB event structure. |
QDF_esbCtx * QDF_esbEvtConstruct | ( | QDF_esbEvt * | evt, | |
unsigned int | level, | |||
void * | prm, | |||
QDF_exc * | exc | |||
) |
Constructs (initializes) the specified Event Summary Block event structure.
evt | The ESB 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 |
EBF_ctbHdr QDF_esbEvtCtbHdrGet | ( | const QDF_esbEvt * | evt, | |
int | cid | |||
) |
Returns the contributor header for the specified contributor id.
evt | The target ESB event structure. | |
cid | The contributor ID |
unsigned int QDF_esbEvtDgnidsGet | ( | const QDF_esbEvt * | evt | ) |
Returns the left-justified bit mask of TEMs with a diagnostic contribution.
evt | The target ESB event structure. |
EBF_ebw QDF_esbEvtEbwGet | ( | const QDF_esbEvt * | evt, | |
int | cid | |||
) |
Returns the event builder word for the specified contributor id.
evt | The target ESB event structure. | |
cid | The contributor ID |
unsigned int QDF_esbEvtErridsGet | ( | const QDF_esbEvt * | evt | ) |
Returns the left-justified bit mask of TEMs with an error contribution.
evt | The target ESB event structure. |
EBF_esw QDF_esbEvtEswGet | ( | const QDF_esbEvt * | evt, | |
int | cid | |||
) |
Returns the event summary word for the specified contributor id.
evt | The target ESB event structure. | |
cid | The contributor ID |
unsigned int QDF_esbEvtSeqGet | ( | const QDF_esbEvt * | evt | ) |
Returns the event sequence number.
evt | The target ESB event structure. |
int QDF_esbEvtSizeof | ( | unsigned int | level, | |
void * | prm | |||
) |
Returns the size, in bytes of QDF Event Summary Block 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 |