GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QCFG / V1-1-0
Constituent: qcfg     Tag: linux-gcc
#include "QCFG/QCFG.h"
#include "QCFG/QCFG_msgs.h"
#include "RIM/RIM.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 "PBS/MBA.h"
#include <string.h>
Include dependency graph for QCFG_ingest.c:
Data Structures | |
struct | _QCFG_ctl |
Structure holding the in-memory model and callback info. More... | |
struct | _QCFG_dgmParm |
Datagram parameter block. More... | |
Typedefs | |
typedef _QCFG_ctl | QCFG_ctl |
Structure holding the in-memory model and callback info. | |
typedef _QCFG_dgmParm | QCFG_dgmParm |
Datagram parameter block. | |
Functions | |
static LSF_scanContributionHandler | procDgm (ApidStream *astream, const LSF_datagram *dgm) |
Process a datagram. | |
static unsigned | getRecd (void *vParm, unsigned *type, int *leng) |
Get a record header. | |
static unsigned | getData (void *vParm, void *data, int leng, int *rLeng) |
Get record data. | |
unsigned | QCFG_ingest (RIM *rim, const char *filename, QCFG_rimProcCB procRtn, void *parm) |
Process a file of LAT configuration datagrams. |
|
Get record data. This routine, designed to work in conjunction with RIM_export, gets the next block of data from the datagram, making sure that it will not overflow the current record.
|
|
Get a record header. This routine, designed to work in conjunction with RIM_export, gets the next record (contribution) header from the datagram.
|
|
Process a datagram. This routine is called for each datagram found in the packet file. It assumes that a datagram contains the complete dump of the LAT registers and retrieves and prints out the register values.
|
|
Process a file of LAT configuration datagrams. This routine reads a file of LAT configuration datagrams and populates a RIM structure with each datagram. An optional callback routine may be called to process the contents of the RIM each time.
|