GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSSP / dev > qssp / linux-gcc
#include <QSSP/QSSP_ctx.h>
#include <QSSP_efsCtx.h>
#include <QSP/QFCP_cache.h>
#include <QSP/QSP_templates.h>
#include <QSD/QFC_cache.h>
#include <QSD/QFR_file.h>
#include <QSD/QFC_member.h>
#include <LSF/LSF.h>
Typedefs | |
typedef void *(* | UnpackCtx )(QSSP_ctx *qssp, const QSSP_efsCtxBdy *bdy) |
Callback signature to unpack the statistics context. | |
Functions | |
static __inline void | qssp_unpack_did (QSD_ctxDid *did, const LSE_did *src) |
Unpacks the did context. | |
static __inline void | qssp_unpack_ctx_v0 (QSSP_ctx *ctx, const QSSP_efsCtxBdyV0 *v0) |
Unpacks version 0 of the context. | |
static __inline void | qssp_unpack_ctx_v1 (QSSP_ctx *ctx, const QSSP_efsCtxBdyV1 *v1) |
Unpacks version 1 of the context. | |
static __inline void | qssp_unpack_ctx_v2 (QSSP_ctx *ctx, const QSSP_efsCtxBdyV2 *v2) |
Unpacks version 2 of the context. | |
void | QSSP_ctxConstruct (QSSP_ctx *qssp, QFCP_cache *cache) |
Construct the QSSP context. | |
const LSF_contribution * | QSSP_ctxUpdateAtDatagram (QSSP_ctx *qssp, const LSF_contribution *ctb, unsigned int hid) |
Updates the context for the datagram's contributions. |
CVS $Id: QSSP_ctx.c,v 1.2 2011/03/29 00:14:57 russell Exp $
typedef void(* UnpackCtx)(QSSP_ctx *qssp, const QSSP_efsCtxBdy *bdy) |
Callback signature to unpack the statistics context.
qssp | The destination context block to receive the unpacked dat | |
bdy | The source context block |
void QSSP_ctxConstruct | ( | QSSP_ctx * | qssp, | |
QFCP_cache * | cache | |||
) |
Construct the QSSP context.
qssp | The QSSP context to construct | |
cache | The (initialized) file cache |
References _QSSP_ctx::cache, and _QSSP_ctx::files.
Referenced by QASC_construct(), and QSTD_construct().
const LSF_contribution * QSSP_ctxUpdateAtDatagram | ( | QSSP_ctx * | qssp, | |
const LSF_contribution * | ctb, | |||
unsigned int | hid | |||
) |
Updates the context for the datagram's contributions.
qssp | The QSSP context handle | |
ctb | The datagram's contributions | |
hid | The handler identity |
References _QSSP_efsCtxCtb::bdy, _QSSP_ctx::cache, _QSSP_ctxIds::cfg, _QSSP_ctxKeys::cfg, _QSSP_ctx::dgm, _QSSP_ctx::files, _QSSP_ctxIds::handler, _QSSP_efsCtxCtb::hdr, _QSSP_ctx::id, _QSSP_ctx::key, _QSSP_ctxKeys::master, qssp_unpack_ctx_v0(), qssp_unpack_ctx_v1(), qssp_unpack_ctx_v2(), and _QSSP_ctxKeys::sbs.
Referenced by QASC_updateAtDatagram(), and QSTD_updateAtDatagram().
static __inline void qssp_unpack_ctx_v0 | ( | QSSP_ctx * | ctx, | |
const QSSP_efsCtxBdyV0 * | v0 | |||
) | [static] |
Unpacks version 0 of the context.
ctx | The destination context | |
v0 | The source context |
References _QSSP_ctxKeys::cfg, _QSSP_ctxIds::cfg, _QSSP_ctx::dgm, _QSSP_efsCtxBdyV0::did, _QSSP_ctx::id, _QSSP_ctx::key, _QSSP_ctxKeys::master, qssp_unpack_did(), _QSSP_ctxKeys::sbs, and _QSSP_efsCtxBdyV0::schema_key.
Referenced by QSSP_ctxUpdateAtDatagram().
static __inline void qssp_unpack_ctx_v1 | ( | QSSP_ctx * | ctx, | |
const QSSP_efsCtxBdyV1 * | v1 | |||
) | [static] |
Unpacks version 1 of the context.
ctx | The destination context | |
v1 | The source context |
References _QSSP_efsCtxKeysV1::cfg, _QSSP_ctxKeys::cfg, _QSSP_ctxIds::cfg, _QSSP_efsCtxBdyV1::cfg_id, _QSSP_ctx::dgm, _QSSP_efsCtxBdyV1::did, _QSSP_efsCtxKeysV1::handler, _QSSP_ctx::id, _QSSP_efsCtxBdyV1::key, _QSSP_ctx::key, _QSSP_ctxKeys::master, qssp_unpack_did(), and _QSSP_ctxKeys::sbs.
Referenced by QSSP_ctxUpdateAtDatagram().
static __inline void qssp_unpack_ctx_v2 | ( | QSSP_ctx * | ctx, | |
const QSSP_efsCtxBdyV2 * | v2 | |||
) | [static] |
Unpacks version 2 of the context.
ctx | The destination context | |
v2 | The source context |
References _QSSP_ctxKeys::cfg, _QSSP_ctxIds::cfg, _QSSP_ctx::dgm, _QSSP_ctx::id, _QSSP_ctx::key, _QSSP_ctxKeys::master, qssp_unpack_did(), and _QSSP_ctxKeys::sbs.
Referenced by QSSP_ctxUpdateAtDatagram().
static __inline void qssp_unpack_did | ( | QSD_ctxDid * | did, | |
const LSE_did * | src | |||
) | [static] |
Unpacks the did context.
did | The destination did | |
src | The source did |
Referenced by qssp_unpack_ctx_v0(), qssp_unpack_ctx_v1(), and qssp_unpack_ctx_v2().