GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LATC / V9-1-3 > QLATC_print / sun-gcc
#include <LATC/LATC_msgs.h>
#include <iterator_p.h>
#include <retrieve_p.h>
#include <DUMP/dump.h>
#include <LSF/LSF.h>
#include <LSF/LSF_ids.h>
#include <LSF/LSF_scan.h>
#include <MSG/MSG_pubdefs.h>
#include <LEM/msg_macros.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Functions | |
static LSF_scanContributionHandler | retrieve_dgm (ApidStream *astream, const LSF_datagram *dgm) |
Screens out any datagrams that are not LATC datagrams. | |
static LSF_scanRecordHandler | retrieve_ctb (ApidStream *astream, const LSF_contribution *ctb) |
Retrieves a contribution. | |
unsigned | LATC_iterator (LATC_imm *imm, const char *filename) |
Process a file of event monitor datagrams. |
Cvs $Id: iterator.c,v 1.7 2011/04/08 00:20:45 apw Exp $
unsigned LATC_iterator | ( | LATC_imm * | imm, | |
const char * | filename | |||
) |
Process a file of event monitor datagrams.
imm | In-memory model to populate | |
filename | Name of the file to use as the source of dgms |
< The read buffer
References retrieve_dgm().
Referenced by main().
static LSF_scanRecordHandler retrieve_ctb | ( | ApidStream * | astream, | |
const LSF_contribution * | ctb | |||
) | [static] |
Retrieves a contribution.
astream | The APID stream | |
ctb | The datagram contribution |
References LATC_retrieve().
Referenced by retrieve_dgm().
LSF_scanContributionHandler retrieve_dgm | ( | ApidStream * | astream, | |
const LSF_datagram * | dgm | |||
) | [static] |
Screens out any datagrams that are not LATC datagrams.
astream | The APID stream | |
dgm | The datagram |
References retrieve_ctb().
Referenced by LATC_iterator().