GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GRBS / V0-1-0
Constituent: grbs_siu     Tag: linux-gcc
#include "PBI/Endianness.h"
#include "GRB/GRB_epu.h"
Include dependency graph for GRBS_epu_p.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _GRBS_epuCtl |
The GRBS photon writer control. More... | |
struct | _GRBS_msgBdy |
The message carrying the information about a candidate photon from the server side (EPU) to the client side (SIU). More... | |
struct | _GRBS_msg |
Structure of the message between the server (EPU) and client (SIU). More... | |
Typedefs | |
typedef _GRBS_epuCtl | GRBS_epuCtl |
Typedef for struct _GRBS_epuCtl. | |
typedef _GRBS_msgBdy | GRBS_msgBdy |
Typedef for struct _GRBS_msgBdy. | |
typedef _GRBS_msg | GRBS_msg |
Typedef for struct _GRBS_msg. | |
Functions | |
static __inline void | GRBS__msgCompose (GRBS_msg *msg, unsigned long long int seq, unsigned long long int time, unsigned int pps, unsigned int trg, int energy, int dx, int dy, int dz) |
Composes a message (header + body) all values are written as big endian 32-bit values. When read on big-endian machines, no transformation needs to be done. On little-endian machines, the message is readable after doing a 4-byte swap on the entire message. | |
static __inline unsigned int | GRBS__msgLength (const GRBS_msg *msg) |
Accessor to return the length of the message in 32-bit units. | |
static __inline unsigned long long int | GRBS__msgKey (const GRBS_msg *msg) |
Accessor to return the event sequence number. | |
static __inline unsigned long long int | GRBS__msgTime (const GRBS_msg *msg) |
Accessor to return the event time, in nanoseconds. | |
static __inline unsigned int | GRBS__msgPps (const GRBS_msg *msg) |
Accessor to return the GEM PPS timestamps. | |
static __inline unsigned int | GRBS__msgTrg (const GRBS_msg *msg) |
Accessor to return the event timestamp. | |
static __inline unsigned int | GRBS__msgDx (const GRBS_msg *msg) |
Accessor to return the event Dx. | |
static __inline unsigned int | GRBS__msgDy (const GRBS_msg *msg) |
Accessor to return the event Dy. | |
static __inline unsigned int | GRBS__msgDz (const GRBS_msg *msg) |
Accessor to return the event dz. | |
static __inline unsigned int | GRBS__msgEnergy (const GRBS_msg *msg) |
Accessor to return the event energy. | |
static __inline const GRBS_msg * | GRBS__msgNext (const GRBS_msg *msg) |
Returns a pointer to the message following the specified message. | |
static __inline const GRBS_msg * | GRBS__msgAdvance (const GRBS_msg *msg, int len32) |
Returns a pointer to the location of msg + len32. |
CVS $Id: GRBS_epu_p.h,v 1.4 2007/06/26 20:39:57 smaldona Exp $
|
Returns a pointer to the location of msg + len32.
|
|
Composes a message (header + body) all values are written as big endian 32-bit values. When read on big-endian machines, no transformation needs to be done. On little-endian machines, the message is readable after doing a 4-byte swap on the entire message.
|
|
Accessor to return the event Dx.
|
|
Accessor to return the event Dy.
|
|
Accessor to return the event dz.
|
|
Accessor to return the event energy.
|
|
Accessor to return the event sequence number.
|
|
Accessor to return the length of the message in 32-bit units.
|
|
Returns a pointer to the message following the specified message.
|
|
Accessor to return the GEM PPS timestamps.
|
|
Accessor to return the event time, in nanoseconds.
|
|
Accessor to return the event timestamp.
|