GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> GRBP / V1-0-4 > grbp_msg_test / rhel4-32


Interface   Data Structures   File List   Data Fields   Globals  

GRBP_pktdef.h File Reference

Format of the information being transmitted from the server-side (EPU) to the client-side (SIU). More...

#include <GRBP_msgdef.h>
#include <GRB/GRB_pktdef.h>

Classes

struct  _GRBP_pkt
 Structure of the packet between the server (EPU) and client (SIU). More...

Typedefs

typedef struct _GRBP_pkt GRBP_pkt
 Typedef for struct _GRBP_pkt.

Functions

static __inline int GRBP__pktMsgAdd (GRBP_pkt *pkt, unsigned long long int seq, unsigned long long int time, int energy, unsigned int dx, unsigned int dy, unsigned int dz)
 Adds the specified message information to the specified packet.


Detailed Description

Format of the information being transmitted from the server-side (EPU) to the client-side (SIU).

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: GRBP_pktdef.h,v 1.2 2011/03/30 22:11:51 russell Exp $

Typedef Documentation

Typedef for struct _GRBP_pkt.

This is only useful in a testing environment.


Function Documentation

static __inline int GRBP__pktMsgAdd ( GRBP_pkt pkt,
unsigned long long int  seq,
unsigned long long int  time,
int  energy,
unsigned int  dx,
unsigned int  dy,
unsigned int  dz 
) [static]

Adds the specified message information to the specified packet.

Returns:
The number of messages now in the packet
Parameters:
pkt The target packet
seq The event sequence number
time The event time, in nanoseconds
energy The event energy, in Mev
dx The, possibly, unnormalize x direction cosine
dy The, possibly, unnormalize y direction cosine
dz The, possibly, unnormalize z direction cosine

References GRBP__msgCompose(), _GRBP_pkt::hdr, and _GRBP_pkt::msgs.

Referenced by main().


Generated on Fri Sep 30 19:28:00 2011 by  doxygen 1.5.8