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_grb_post.c File Reference

LAT Physics Acquisition GRB event post routines. More...

#include <stdio.h>
#include <string.h>
#include "PBS/WCT.h"
#include "MSG/MSG_pubdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "IMM/RBM_pubdefs.h"
#include "CDM/CDM_pubdefs.h"
#include "CMX/CMX_lookupPub.h"
#include "GRB/GRB_epu.h"
#include "GRB/GRB_pktdef.h"
#include "GRB/GRB_msgdef.h"
#include "GRB_DB/GRB_DB_schema.h"
#include "LPA_DB/LPA_DB_grb_epu_schema.h"
#include "LPA_grb_post_p.h"
#include "LPA_utils.h"
#include "LPA/LPA_msgs.h"
#include "LSF/LSF_reason.h"
#include "EDS/EDS_fwServices.h"
#include "EDS/EDS_fw.h"
#include "LCBD/LCBD_evt.h"
#include "LCBD/LCBD_drv.h"
#include "GRBS/../src/GRBS_epu_p.h"

Include dependency graph for LPA_grb_post.c:


Functions

int LPA_grbPostStart (void *prm, int reason, unsigned int run_id, unsigned int startTime, unsigned int mode, unsigned int hw_key, unsigned int cfg_key)
 The post start routine.
void LPA_grbPostWrite (void *prm, EDS_fwIxb *ixb)
 The post write routine.
int LPA_grbPostNotify (void *prm, unsigned int mode, unsigned int active, const unsigned char cfgs[32], void *rsdTbl)
 The post notify routine.
int LPA_grbPostFlush (void *prm, int reason)
 The post flush routine.
static WUT_cb_status LPA_grbWutCb (void *prm, WUT_tmr *wut)
 WUT callback routine.
static FORK_cb_status LPA_grbForkCb (FORK_cb_prm *prm, FORK_msg_hdr *hdr)
 FORK message processing callback.
unsigned int LPA_grbPostCtlSizeOf (void)
 Retrieves the GRB post services block size.
int LPA_setGrbProcessor (void *prm, unsigned int id)
 The post flush routine.
const EDS_fwPostServices * LPA_constructGrbPostSvc (LPA_GrbPostCtl *ctl, EDS_fw *eds, void *postRtn, void *postPrm, unsigned int *buf, int buf_size)
 Retrieves the GRB output services block.

Detailed Description

LAT Physics Acquisition GRB event post routines.

Author:
S.Maldonado - smaldona@slac.stanford.edu
    CVS $Id: LPA_grb_post.c,v 1.6 2007/06/26 20:51:55 smaldona Exp $
   

Function Documentation

EDS_fwPostServices * LPA_constructGrbPostSvc LPA_GrbPostCtl ctl,
EDS_fw *  eds,
void *  postRtn,
void *  postPrm,
unsigned int *  buf,
int  buf_size
 

Retrieves the GRB output services block.

Returns:
EDS post services block
Parameters:
ctl The GRB poster control handle
eds The EDS framework handle
postRtn Routine to post the formatted GRB summary
postPrm Parameter passed to the post routine
buf The first, preallocated buffer to fill
buf_size The size, in bytes, of the ouptut buffer. Events will be packed into this buffer until full

FORK_cb_status LPA_grbForkCb FORK_cb_prm *  prm,
FORK_msg_hdr *  hdr
[static]
 

FORK message processing callback.

Returns:
status

unsigned int LPA_grbPostCtlSizeOf void   ) 
 

Retrieves the GRB post services block size.

Returns:
Size

int LPA_grbPostFlush void *  prm,
int  reason
 

The post flush routine.

Parameters:
prm Flush parameter
reason Flush reason

int LPA_grbPostNotify void *  prm,
unsigned int  mode,
unsigned int  active,
const unsigned char  cfgs[32],
void *  rsdTbl
 

The post notify routine.

Returns:
Status
Parameters:
prm Notify parameter
mode Notification mode
active Active
cfgs Configurations
rsdTbl Result descriptor table

int LPA_grbPostStart void *  prm,
int  reason,
unsigned int  run_id,
unsigned int  startTime,
unsigned int  mode,
unsigned int  hw_key,
unsigned int  cfg_key
 

The post start routine.

Returns:
Status
Parameters:
*prm Start parameter
reason Start reason
run_id Run ID
startTime Run start time
mode Run mode
hw_key Hardware cfg file key
cfg_key Software cfg file key

void LPA_grbPostWrite void *  prm,
EDS_fwIxb *  ixb
 

The post write routine.

Parameters:
prm Write parameter
ixb Pointer to information exchange block

static WUT_cb_status LPA_grbWutCb void *  prm,
WUT_tmr *  wut
[static]
 

WUT callback routine.

Returns:
WUT constant WUT_K_STATE_CHANGE_YES
Parameters:
prm User context parameter
wut Wake up timer

int LPA_setGrbProcessor void *  prm,
unsigned int  id
 

The post flush routine.

Parameters:
prm GRB post control handle
id GRB processor ID


Generated on Thu Oct 18 01:59:32 2007 by  doxygen 1.4.4