GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LPA / V6-1-3

Constituent: lpa_epu     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

LPA_output.c File Reference

LAT Physics Acquisition Event output control. More...

#include <stdio.h>
#include "MSG/MSG_pubdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "LPA_output_p.h"
#include "LPA_utils.h"
#include "LPA/LPA_msgs.h"

Include dependency graph for LPA_output.c:


Functions

static unsigned int LPA_outputConstruct (void *ctl, void *fpa)
 Allocate memory for an LPA_output structure and initialize (clear).
static unsigned int LPA_outputSizeOf (void)
 Return the size on bytes of the output control block.
static unsigned int * LPA_dgm_poster (void *prm, void *buf, int bytes)
 Default event poster.
static unsigned int * LPA_grb_poster (void *prm, void *buf, int bytes)
 Default GRB poster.
static void LPA_cb_postFree (ITC_QueueItem *qitem, unsigned int status, void *prm0, void *prm1, void *prm2, unsigned int tx)
 Deafult ompletion call-back for use with ITC when sending out a datagram just returns the qitem to the pool.
LPA_DB_OutputServices * LPA_getDgmOutputSvc (void)
 Retrieves the datagram output services block.
LPA_DB_OutputServices * LPA_getGrbOutputSvc (void)
 Retrieves the GRB output services block.
unsigned int LPA_setOutputStream (void *ctl, unsigned int state)
 Set the LPA output stream.
unsigned int LPA_getOutputPostCount (void *ctl, unsigned int reset)
 Get and reset the LPA output post count.

Variables

static LPA_DB_OutputServices LPA_DgmOutputSvc
 The static instance of the LPA datagram output services structure.
static LPA_DB_OutputServices LPA_GrbOutputSvc
 The static instance of the LPA GRB output services structure.

Detailed Description

LAT Physics Acquisition Event output control.

Author:
S.Maldonado - smaldona@slac.stanford.edu
    CVS $Id: LPA_output.c,v 1.6 2007/05/18 19:03:13 smaldona Exp $
   

Function Documentation

void LPA_cb_postFree ITC_QueueItem *  qitem,
unsigned int  status,
void *  prm0,
void *  prm1,
void *  prm2,
unsigned int  tx
[static]
 

Deafult ompletion call-back for use with ITC when sending out a datagram just returns the qitem to the pool.

Parameters:
qitem Queue item to be returned to the pool
status Success or failure of the ITC delivery
prm0 User defined parameter 0 (pointer to the FPM pool)
prm1 User defined (NULL)
prm2 User defined (NULL)
tx Transmission status

static unsigned int * LPA_dgm_poster void *  prm,
void *  buf,
int  bytes
[static]
 

Default event poster.

Return values:
Pointer to next datagram buffer
Parameters:
prm Pointer to the output structure
buf The buffer to post
bytes The number of bytes in the buffer

LPA_DB_OutputServices* LPA_getDgmOutputSvc void   ) 
 

Retrieves the datagram output services block.

Returns:
Status

LPA_DB_OutputServices* LPA_getGrbOutputSvc void   ) 
 

Retrieves the GRB output services block.

Returns:
Status

unsigned int LPA_getOutputPostCount void *  ctl,
unsigned int  reset
 

Get and reset the LPA output post count.

Returns:
Status
Parameters:
ctl Control parameter
reset Reset parameter

static unsigned int * LPA_grb_poster void *  prm,
void *  buf,
int  bytes
[static]
 

Default GRB poster.

Return values:
Pointer to next GRB summary buffer
Parameters:
prm Pointer to the output structure
buf The buffer to post
bytes The number of bytes in the buffer

static unsigned int LPA_outputConstruct void *  ctl,
void *  fpa
[static]
 

Allocate memory for an LPA_output structure and initialize (clear).

Parameters:
ctl ID of the data source
fpa FPA pointer
Return values:
LPA_SUCCESS 

static unsigned int LPA_outputSizeOf void   )  [static]
 

Return the size on bytes of the output control block.

Return values:
Output ctl block size

unsigned int LPA_setOutputStream void *  ctl,
unsigned int  state
 

Set the LPA output stream.

Returns:
Status
Parameters:
ctl Control parameter
state Enable state


Generated on Thu Oct 18 02:00:01 2007 by  doxygen 1.4.4