GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSD / V0-4-4
Constituent: qsd_print     Tag: linux-gcc
#include "QSD/QSD_process.h"
#include "QSD/QSF_schema.h"
#include "QSD/QSF_services.h"
#include "QSD/CCSDS_istream.h"
#include "QSD/CCSDS_apidDsc.h"
#include "QSD/CCSDS_telemetry.h"
#include "QSD/CCSDS_telemetryPrint.h"
#include "LSF/LSF.h"
#include "LSF/LSF_scan.h"
#include "CDM/CDM_pubdefs.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
Include dependency graph for QSD_process.c:
Data Structures | |
struct | _QSD_dgmProcessor |
Parameters used to locate the datagram processor. More... | |
struct | _QSD_printRto |
Run time print options/parameters for qsd_print. More... | |
struct | _DgmEntry |
Describes one datagram plug-in entry. More... | |
struct | _DgmTable |
The table of already loaded plug-ins. More... | |
struct | _DgmCtl |
The datagram print control structure. More... | |
Typedefs | |
typedef _QSD_dgmProcessor | QSD_dgmProcessor |
Typedef for struct _QSD_dgmProcessor. | |
typedef _QSD_printRto | QSD_printRto |
Typedef for struct _QSD_printRto. | |
typedef _DgmEntry | DgmEntry |
Typedef for struct _DgmEntry. | |
typedef _DgmTable | DgmTable |
Typedef for struct _DgmTable. | |
typedef _DgmCtl | DgmCtl |
Typedef for struct _DgmCtl. | |
Functions | |
static int | get_rto (QSD_printRto *rto, int argc, char *const argv[], const char *facility) |
Examines the command line parameters and fills the print run time options control structure. | |
static void | new_line (void) |
Prints a new line. | |
static void | ccsds_hdr_print (const CCSDS_telemetry *packet) |
Prints a one-line summary of the CCSDS_istream header. | |
static const QSF_schema * | load (const QSD_dgmProcessor *processor, unsigned int id) |
Loads the specified print plugin. | |
static void | dgm_tbl_init (DgmTable *tbl) |
Initialize the plug-in table. | |
static LSF_scanContributionHandler | generic_dgm_handler (DgmCtl *ctl, const LSF_datagram *dgm) |
This is the generic datagram handler. It attempts to find the print plug-in that goes this datagram, using the type_id as the key. | |
int | QSD_process (int argc, char *const argv[], const char *facility, const QSF_schema *generic) |
Process a file of datagrams. | |
const DgmEntry * | dgm_tbl_find (DgmTable *tbl, unsigned int type_id) |
Tries to locate the specified entry. | |
static void | dgm_tbl_add (DgmTable *tbl, unsigned int type_id, LSF_scanDatagramHandler dgm_handler, QSF_servicesDestruct destruct) |
Adds the specifed datagram handler to the table of known handlers. | |
static LSF_scanDatagramHandler | dgm_handler_get (const QSF_services *services) |
Returns the datagram handler (routine + initialize context parameter) associated with the specified schema. If no schema is specified, a default handler is constructed. |
CVS $Id: QSD_process.c,v 1.3 2008/09/19 18:09:10 russell Exp $
|
Prints a one-line summary of the CCSDS_istream header.
|
|
Returns the datagram handler (routine + initialize context parameter) associated with the specified schema. If no schema is specified, a default handler is constructed.
|
|
Adds the specifed datagram handler to the table of known handlers.
|
|
Tries to locate the specified entry.
|
|
Initialize the plug-in table.
|
|
This is the generic datagram handler. It attempts to find the print plug-in that goes this datagram, using the type_id as the key.
|
|
Examines the command line parameters and fills the print run time options control structure.
|
|
Loads the specified print plugin.
|
|
Process a file of datagrams.
lib<facility>_<datagram_id><variant>.so Each of these components come from a different place
|