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

Constituent: rim     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

RIM_record.c File Reference

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

#include "RIM_p.h"
#include "RIM_AG_init_p.h"
#include "RIM_descriptions.ic"
#include "RIM_number.ic"

Include dependency graph for RIM_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 RIM to the SSR.

Detailed Description

Function using call-backs to populate a datagram.

Author:
James Swain & Owen Saxton
Id
RIM_record.c,v 1.1 2007/03/16 19:29:15 saxton Exp

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 RIM 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 Fri Jun 15 02:04:24 2007 by  doxygen 1.4.4