GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSEP / V3-3-0

Constituent: qsep_extract     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QSEP_dgmDvr.h File Reference

Tailors the QSE_dgmDvr interface specifically for the QSEP environment. More...

#include "QSE/QSE_dgmDvr.h"

Include dependency graph for QSEP_dgmDvr.h:

This graph shows which files directly or indirectly include this file:


Typedefs

typedef struct
_QSE_dgmDvr 
QSEP_dgmDvr
typedef struct _QSEP QSEP
typedef enum
_QSEP_DGMDVR_FATE_K 
QSEP_DGMDVR_FATE_K
 Typedef for enum _QSEP_DGMDVR_FATE_K.
typedef unsigned int(* QSEP_dgmDvrDgm )(void *context, const LSF_datagram *dgm, QSEP *qsep)
 Callback signature for user provided datagram handler.
typedef unsigned int(* QSEP_dgmDvrCtb )(void *context, const LSF_contribution *ctb, QSEP *qsep)
 Callback signature for user provided context handler.
typedef unsigned int(* QSEP_dgmDvrRec )(void *context, const LSF_record *rec, void *prm)
 Callback signature for user provided record handler.

Enumerations

enum  _QSEP_DGMDVR_FATE_K {
  QSEP_DGMDVR_FATE_K_PROCESS = QSE_DGMDVR_FATE_K_PROCESS,
  QSEP_DGMDVR_FATE_K_CONTINUE = QSE_DGMDVR_FATE_K_CONTINUE,
  QSEP_DGMDVR_FATE_K_STOP = QSE_DGMDVR_FATE_K_STOP,
  QSEP_DGMDVR_FATE_K_NEXT_DATAGRAM = QSE_DGMDVR_FATE_K_NEXT_DATAGRAM,
  QSEP_DGMDVR_FATE_K_NEXT_CONTRIBUTION = QSE_DGMDVR_FATE_K_NEXT_CONTRIBUTION
}
 Fate returned by the print driver callback routine to determine whether more events are processed or not. More...

Functions

void QSEP_dgmDvrConstruct (QSEP_dgmDvr *dgmDvr, unsigned int resource_level, void *cfg, const unsigned int *dgmDvrCfg, void *handler_ctx, QSEP_dgmDvrDgm handler_dgm, QSEP_dgmDvrCtb handler_ctb, QSEP_dgmDvrRec handler_rec)
const unsigned int * QSEP_dgmDvrPrmsConstruct (unsigned int *prms, int nevents, int nskip)
const unsigned int * QSEP_dgmDvrPrmsShrConstruct (unsigned int *prms, int *pevents, int *pskip)
int QSEP_dgmDvrSizeof (int resource_level, void *qsepCfg, const unsigned int *qseDgmDvrCfg)
void QSEP_dgmDvrDestruct (QSEP_dgmDvr *dvr)
LSF_scanContributionHandler QSEP_dgmDvrDatagramProcess (QSEP_dgmDvr *dvr, const LSF_datagram *dgm)

Detailed Description

Tailors the QSE_dgmDvr interface specifically for the QSEP environment.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: QSEP_dgmDvr.h,v 1.2 2009/05/06 22:48:16 russell Exp $

Typedef Documentation

unsigned int(* QSEP_dgmDvrCtb)(void *context, const LSF_contribution *ctb, QSEP *qsep)

Callback signature for user provided context handler.

Return values:
QSEP_DGMDVR_FATE_K_QUIT 
QSEP_DGMDVR_FATE_K_CONTINUE 
Parameters:
context The update context
ctb The datagram contribution
qsep The QSEP context

unsigned int(* QSEP_dgmDvrDgm)(void *context, const LSF_datagram *dgm, void *prm)

Callback signature for user provided datagram handler.

Return values:
QSEP_DGMDVR_FATE_K_QUIT 
QSEP_DGMDVR_FATE_K_CONTINUE 
Parameters:
context The update context
dgm The datagram
qsep The QSEP context

unsigned int(* QSEP_dgmDvrRec)(void *context, const LSF_record *record, QSEP *qsep)

Callback signature for user provided record handler.

Return values:
QSEP_DGMDVR_FATE_K_QUIT 
QSEP_DGMDVR_FATE_K_CONTINUE 
Parameters:
context The update context
record The event record to decode
qsep The QSEP context


Enumeration Type Documentation

enum _QSEP_DGMDVR_FATE_K

Fate returned by the print driver callback routine to determine whether more events are processed or not.

Enumerator:
QSEP_DGMDVR_FATE_K_PROCESS  Process the contents of the current object.
  • If the object is a datagram, then process the contributions.
  • If the object is a contribution, then process the records
QSEP_DGMDVR_FATE_K_CONTINUE  Continue the processing of the records in a contribution
QSEP_DGMDVR_FATE_K_STOP  Stop all processing
QSEP_DGMDVR_FATE_K_NEXT_DATAGRAM  Advances to the next datagram.
  • If the object is a datagram, then skip the processing of the contributions and, by implication, any records within those contributions
  • If the object is a contribution, then skip the processing of the records in that contribution and any remaining contributions in the current datagram
  • If the object is a record, then skip the processing of any remaining records in the contribution and any remaining contribution in the current datagram
QSEP_DGMDVR_FATE_K_NEXT_CONTRIBUTION  Advances to the next contribution
  • If the object is a contribution, then skip the processing of any records records in the current contribution
  • If the object is a record, then skip the processing of any remaining records records in the current contribution


Generated on Sat Jun 20 01:48:41 2009 by  doxygen 1.5.3