GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EMP / V1-4-1 > ascprint / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LSD_sdi.h File Reference

Interface to the generic formatting of an LSD data structure (LSF datagram encapsulated in CCSDS packet) and writing to SDI. More...


Classes

struct  _LSD_sdiWriteCbp
 Binds the routine to write an ITC queue item with its context parameter. More...

Typedefs

typedef struct _LSD_sdi LSD_sdi
typedef struct _LSD_sdiPds LSD_sdiPds
typedef struct _LSF_datagram LSF_datagram
typedef unsigned int(* LSD_sdiWriteRtn )(void *prm, LSD_sdiPds *pds)
 Function to post a completed packet to the SDI.
typedef struct _LSD_sdiWriteCbp LSD_sdiWriteCbp
 Typedef for struct _LSD_sdiWriteCbp.

Functions

unsigned int LSD_sdiSizeof (void)
unsigned int LSD_sdiConstruct (LSD_sdi *sdi, int apid, int ringSize, int ringOverflow, LSD_sdiWriteRtn writeRtn, void *writePrm)
LSD_sdiPds * LSD_sdiGetW (LSD_sdi *sdi, int dgmSize, unsigned int ts_secs, unsigned int ts_usecs)
unsigned int LSD_sdiShrink (LSD_sdi *sdi, LSD_sdiPds *pds, int shinkSize)
void LSD_sdiDestruct (LSD_sdi *sdi)
unsigned int LSD_sdiSend (LSD_sdi *sdi, LSD_sdiPds *pds)
unsigned int LSD_sdiWrite (void *prm, LSD_sdiPds *pds)
unsigned int LSD_sdiPdsLenGet (LSD_sdiPds *pds)
void * LSD_sdiPdsCcsdsGet (LSD_sdiPds *pds)
LSF_datagram * LSD_sdiPdsDgmGet (LSD_sdiPds *pds)


Detailed Description

Interface to the generic formatting of an LSD data structure (LSF datagram encapsulated in CCSDS packet) and writing to SDI.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: LSD_sdi.h,v 1.2 2007/10/12 23:14:09 russell Exp $

Typedef Documentation

unsigned int(* LSD_sdiWriteRtn)(void *prm, LSD_sdiPds *pds)

Function to post a completed packet to the SDI.

Parameters:
prm User parameter
pds The packet descriptor structure of the data to be written
This callback normally would call ITC_send. Making this a callback, allows the user to intercept the call.


Generated on Fri Sep 30 18:22:19 2011 by  doxygen 1.5.8