GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GRB / V1-3-0
Constituent: grb_doc     Tag: linux-gcc
#include "PBI/Endianness.h"
#include "PBS/BSWP.ih"
Include dependency graph for GRB_msgdef.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _GRB_msgHdr |
The message header. More... | |
Typedefs | |
typedef _GRB_msgHdr | GRB_msgHdr |
Typedef for struct _GRB_msgHdr. | |
Functions | |
static __inline void | GRB__msgCompose (GRB_msgHdr *hdr, unsigned char len32, unsigned long long key) |
Composes the message header, filling in the length and message sorting key. | |
static __inline unsigned int | GRB__msgLength (const GRB_msgHdr *hdr) |
Accessor to return the length of the message in 32-bit units. | |
static __inline unsigned long long int | GRB__msgKey (const GRB_msgHdr *hdr) |
Accessor to return the message sorting key. | |
static __inline const GRB_msgHdr * | GRB__msgNext (const GRB_msgHdr *hdr) |
Returns a pointer to the message header following the specified message header hdr. | |
static __inline const GRB_msgHdr * | GRB__msgAdvance (const GRB_msgHdr *hdr, int len32) |
Returns a pointer to the location of hdr + len32. |
CVS $Id: GRB_msgdef.h,v 1.6 2007/06/25 23:37:40 russell Exp $
This defines the interface to the GRB message header. As a word of warning, do not access the structure's directly in user code. There are accessor functions that avoid endianness issues. Compliance with using the specified interface routines will at least keep the user code compile time compatiable to changes in this package.
|
Typedef for struct _GRB_msgHdr.
|
|
Returns a pointer to the location of hdr + len32.
|
|
Composes the message header, filling in the length and message sorting key.
|
|
Accessor to return the message sorting key.
|
|
Accessor to return the length of the message in 32-bit units.
|
|
Returns a pointer to the message header following the specified message header hdr.
|