GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > DUMP / V0-0-2

Constituent: dump     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

dump.h File Reference

Framework used to parse the contents of a stream of datagrams. More...

#include "LSF/LSF_scan.h"
#include <stdlib.h>

Include dependency graph for dump.h:

This graph shows which files directly or indirectly include this file:


Typedefs

typedef _ApidStream ApidStream
 APID stream structure typedef.
typedef LSF_scanContributionHandler DUMP_dgmHandler (ApidStream *stream, const LSF_datagram *dgm)
 Application specific datagram handler.

Functions

size_t DUMP_sizeofAstream (void)
 Return the size of the ApidStream structure.
ApidStreamDUMP_constructAstream (void *astream, unsigned dgmid, unsigned short apid, unsigned char *dsc_buf, size_t buf_size, DUMP_dgmHandler *dgm_handler, void *rsrc)
void * DUMP_getResource (ApidStream *astream)
 Hand back the pointer to the application resources.
int DUMP_process (const char *file, int dmp_ccsds)
 Process a file of science datagrams.

Detailed Description

Framework used to parse the contents of a stream of datagrams.

Author:
James Swain & Owen Saxton
Id
dump.h,v 1.2 2007/10/26 21:46:35 saxton Exp

Function Documentation

void* DUMP_getResource ApidStream astream  ) 
 

Hand back the pointer to the application resources.

Parameters:
astream Pointer to the ApidStream structure
Returns:
Pointer handed to DUMP when DUMP_constructAstream was invoked

int DUMP_process const char *  file,
int  dmp_ccsds
 

Process a file of science datagrams.

Parameters:
file Name of the file to process
dmp_ccsds Flag indicating whether (1) or not (0) to print out the raw CCSDS
Return values:
0 Success
~0 Failure

size_t DUMP_sizeofAstream void   ) 
 

Return the size of the ApidStream structure.

Returns:
Size of the ApidStream structure


Generated on Thu Apr 17 01:16:26 2008 by  doxygen 1.4.4