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

Constituent: rim     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

record.c File Reference

Function using call-backs to populate a datagram. More...

#include "RIM/record.h"
#include "AG_initRIM_p.h"
#include "error_p.h"
#include "descriptions.ic"
#include "number.ic"

Include dependency graph for record.c:


Defines

#define LATC_CTB_TYPE(base_, type_)   (base_ + type_)
 Caclulate the contribution type from the LAT component type and the contribution class.

Functions

unsigned RIM_record (RIM *rim, void *pkt, RIM_startDgm *startDgm, RIM_startCtb *startCtb, RIM_addData *addData, RIM_endCtb *endCtb, RIM_endDgm *endDgm)
 Send the IMM to the SSR.

Detailed Description

Function using call-backs to populate a datagram.

Author:
James Swain -- jswain@slac.stanford.edu

Function Documentation

unsigned RIM_record RIM rim,
void *  pkt,
RIM_startDgm startDgm,
RIM_startCtb startCtb,
RIM_addData addData,
RIM_endCtb endCtb,
RIM_endDgm endDgm
 

Send the IMM to the SSR.

Parameters:
rim Pointer to the RIM structure used to populate the datagram
pkt Opaque pointer to the control structure passed back to the call-backs
startDgm Pointer to function used to start datagram
startCtb Pointer to function used to start a contribution
addData Pointer to function used to add a block of data
endCtb Pointer to function used to end a contribution
endDgm Pointer to function used to end a datagram
Returns:
One of the error codes from ITC_send, LATC_OUTSIZE if there is a coding error and one of the contributions will not fit into an otherwise empty datagram or LATC_SUCCESS if all goes well.


Generated on Thu Apr 13 23:40:16 2006 by  doxygen 1.4.4