GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> GRBP / V1-0-4 > grbp_msg_test / rhel4-32
#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. |
CVS $Id: GRBP_pktdef.h,v 1.2 2011/03/30 22:11:51 russell Exp $
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.
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().