GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-10-2 > ebfio / mv2304
#include "EDS/EBF_evt.h"
#include "EDS/io/EBF_evt.ih"
#include "EDS/io/EBF_pkts.h"
Classes | |
struct | _EBF_evts_es |
The iterator control structure. More... | |
union | _EBF_evts_u |
The iterator control structure. More... | |
Typedefs | |
typedef struct _EBF_evts_es | EBF_evts_es |
Typedef for struct _EBF_evts_es. | |
typedef union _EBF_evts_u | EBF_evts_u |
Typedef for struct _EBF_evts. | |
typedef unsigned long long int | EBF_evts |
Opaque type for the events vector. | |
Functions | |
static __inline EBF_evt * | EBF__evtsEvt (EBF_evts evts) |
Retrieves the next event. | |
static __inline int | EBF__evtsSize (EBF_evts evts) |
Retrieves the length in bytes of the events vector. | |
static __inline EBF_evts | EBF__evtsNext (EBF_evts evts) |
Pushes the event iterator to the next event. | |
static __inline EBF_evts | EBF__evtsAdvance (EBF_evts evts, int nbytes) |
Advances the specified event iterator forward by the specified number of bytes. | |
static __inline EBF_pkts | EBF__evtsToPkts (EBF_evts pkts) |
Converts a vector of events to a vector of packets. | |
static __inline EBF_evts | EBF__evtsFromPkts (EBF_pkts pkts) |
Converts a vector of packets to a vector of events. | |
int | EBF_evtsCount (EBF_evts evts) |
Counts the number of events. | |
EBF_evts | EBF_evtsLimit (EBF_evts evts, int nevts) |
Limits the events to the specified number of events. | |
EBF_evts | EBF_evtsSkip (EBF_evts evts, int skip) |
Returns an events vector with the specified number of events skipped. | |
EBF_evts | EBF_evtsSetup (EBF_evts evts, int skip, int limit) |
Skips and limits the number of events. | |
EBF_evts | EBF_evtsMcSeek (EBF_evts evts, unsigned int mcNumber) |
Advances the evts to the event with Monte Carlo number mcNumber. | |
EBF_evts | EBF_evtsSeqSeek (EBF_evts evts, unsigned int seqNumber) |
Advances the evts to the event with trigger event sequence number seqNumber. |
CVS $Id: EBF_evts.h,v 1.2 2005/10/13 22:00:56 russell Exp $
When all the events are exhausted, the empty events vector will be returned. The empty events vector is defined as the vector with
unsigned long long int EBF_evts |
Opaque type for the events vector.
Advances the specified event iterator forward by the specified number of bytes.
evts | The current state of the event iteractor | |
nbytes | The number of bytes to advance the event iterator |
Retrieves the next event.
evts | The current state of the event interactor |
Converts a vector of packets to a vector of events.
pkts | The packets vector to convert |
Pushes the event iterator to the next event.
evts | The current state of the event interactor |
static __inline int EBF__evtsSize | ( | EBF_evts | evts | ) | [static] |
Retrieves the length in bytes of the events vector.
evts | The current state of the event interactor |
Converts a vector of events to a vector of packets.
evts | The events vector to convert |
int EBF_evtsCount | ( | EBF_evts | evts | ) |
Counts the number of events.
evts | The vector of events to count |
Limits the events to the specified number of events.
evts | The vector of events to limit | |
limit | The number of events to limit the vector of events to |
Advances the evts to the event with Monte Carlo number mcNumber.
evts | The target vector of events | |
mcNumber | The Monte Carlo event number to seek |
Advances the evts to the event with trigger event sequence number seqNumber.
evts | The target vector of events | |
seqNumber | The trigger event sequence number |
Skips and limits the number of events.
evts | Pointer to the vector of events to be skipped and limited | |
skip | The number of events to skip | |
limit | The number of events to limit the vector of events to |
Returns an events vector with the specified number of events skipped.
evts | The base vector of events | |
skip | The number of events to skip |