GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QPIG / V1-0-4

Constituent: qpig_print     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QPIG_print.c File Reference

functions to retrieve a captured LATC IMM from a set of datagrams More...

#include "QPIG_p.h"
#include "DUMP/dump.h"
#include "LSF/LSF.h"
#include "LSF/LSF_ids.h"
#include "LSF/LSF_scan.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Include dependency graph for QPIG_print.c:


Data Structures

struct  _Ctl
 Run time print options/parameters. More...

Typedefs

typedef _Ctl Ctl
 Typedef for struct _Ctl.

Functions

static void report_usage (void)
 Brief explanation on qpig_print usage.
static int get_ctl (Ctl *ctl, int argc, char *const argv[])
 Examines the command line parameters and fills the print run time options control structure.
static LSF_scanContributionHandler print_dgm (ApidStream *astream, const LSF_datagram *dgm)
 Screens out any datagrams that are not LATC datagrams.
static void new_line (void)
 Prints a new line.
int QPIG_print (int argc, char *const argv[])
 Process a file of event monitor datagrams.
int main (int argc, char *const argv[])
 Process a file of calibration events datagrams.

Detailed Description

functions to retrieve a captured LATC IMM from a set of datagrams

Author:
jswain@slac.stanford.edu
   Cvs $Id: QPIG_print.c,v 1.5 2006/05/03 18:25:10 jswain Exp $

Function Documentation

static int get_ctl Ctl ctl,
int  argc,
char *const   argv[]
[static]
 

Examines the command line parameters and fills the print run time options control structure.

Parameters:
ctl The parameter run time options block.
argc The number of command line parameters.
argv The array of pointers to the command line parameters.
Return values:
0,Everything is okay.
-1,Incorrect command usage. Usually this means that the input file name was absent.

int main int  argc,
char *const   argv[]
 

Process a file of calibration events datagrams.

Returns:
Overall status
Parameters:
argc The argument count
argv The vector of command line strings

LSF_scanContributionHandler print_dgm ApidStream *  astream,
const LSF_datagram *  dgm
[static]
 

Screens out any datagrams that are not LATC datagrams.

Returns:
Either a stop scan signal or the contribution handler
Parameters:
astream The APID stream
dgm The datagram

int QPIG_print int  argc,
char *const   argv[]
 

Process a file of event monitor datagrams.

Returns:
Overall status
Parameters:
argc The argument count
argv The vector of command line strings
< The read buffer


Generated on Mon Oct 29 03:29:03 2007 by  doxygen 1.4.4