GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-11-5 > ebfio / rhel4-32
#include <EDS/EBF_pkt.h>
#include <EDS/EBF_ctb.h>
Classes | |
struct | _EBF_evt |
Template of an event as it appears in the LCB ring buffer. More... | |
Typedefs | |
typedef struct _EBF_evt | EBF_evt |
Typedef for struct _EBF_evt. | |
Functions | |
static __inline EBF_evt * | EBF__evtAdvance (const EBF_evt *evt, int len) |
Returns a pointer to the next event. | |
static __inline unsigned int | EBF__evtSequence (const EBF_evt *evt) |
Returns the 17 bit event sequence number. |
CVS $Id: EBF_evt.h,v 1.4 2011/03/25 22:16:54 russell Exp $
Typedef for struct _EBF_evt.
Returns a pointer to the next event.
evt | Pointer to the event | |
nbytes | The number of bytes to advance the pointer |
One should use this function with caution. In the case of multi-packet events, no integrity checking is done on the packets. The routine simply keeps adding up the size of each packet while the receive status is PACKET_TRUNCATED. It is really meant to be used with a prepared set of data (e.g. from GLEAM, but not directly from the Event Builder Module via the LCB) were integrity is not an issue
static __inline unsigned int EBF__evtSequence | ( | const EBF_evt * | evt | ) | [static] |
Returns the 17 bit event sequence number.
evt | Pointer to the event |
References _EBF_evt::ctb, EBF_ESW_SEQ, _EBF_ctbHdr::esw, _EBF_ctb::hdr, and _EBF_esw::ui.