GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCI / V6-1-0 > LCI_test / rhel6-32


Interface   Data Structures   File List   Data Fields   Globals  

Classes | Typedefs | Enumerations | Functions
compile_p.h File Reference

Private definition of the compilation structure. More...

#include <lci_host_p.h>
#include <configure_p.h>
#include <LSEC/enums.h>
#include <XLX/XLX.h>

Classes

struct  _LCI_tagIdMap
 Tag ID mapping structure. More...
struct  _LCI_compilation
 Compilation information as "derived class" of XLX_state. More...

Typedefs

typedef struct _LCI_tagIdMap LCI_tagIdMap
 Tag ID mapping structure.

Enumerations

enum  {
  LCI_TAG_PARM_BASE = 8,
  LCI_TAG_ITER_BASE = 20,
  LCI_TAG_LATC_DELAY = 0,
  LCI_TAG_DELAY = 1,
  LCI_TAG_PERIOD = 2,
  LCI_TAG_NUMBER = 3,
  LCI_TAG_STROBE = 4,
  LCI_TAG_SUPPRESS = 5,
  LCI_TAG_FOURRNG = 6,
  LCI_TAG_ACD_RANGE = LCI_TAG_PARM_BASE + 0,
  LCI_TAG_ACD_PHA = LCI_TAG_ITER_BASE + 0,
  LCI_TAG_ACD_VETO = LCI_TAG_ITER_BASE + 1,
  LCI_TAG_ACD_VERNIER = LCI_TAG_ITER_BASE + 2,
  LCI_TAG_ACD_HLD = LCI_TAG_ITER_BASE + 3,
  LCI_TAG_ACD_INJECT = LCI_TAG_ITER_BASE + 4,
  LCI_TAG_ACD_BIAS = LCI_TAG_ITER_BASE + 5,
  LCI_TAG_ACD_HOLD = LCI_TAG_ITER_BASE + 6,
  LCI_TAG_ACD_HITMAP = LCI_TAG_ITER_BASE + 7,
  LCI_TAG_ACD_CHANNEL = LCI_TAG_ITER_BASE + 8,
  LCI_TAG_CAL_FIRST = LCI_TAG_PARM_BASE + 0,
  LCI_TAG_CAL_GAINLO = LCI_TAG_PARM_BASE + 1,
  LCI_TAG_CAL_GAINHI = LCI_TAG_PARM_BASE + 2,
  LCI_TAG_CAL_RNGENBL = LCI_TAG_PARM_BASE + 3,
  LCI_TAG_CAL_RNGENBH = LCI_TAG_PARM_BASE + 4,
  LCI_TAG_CAL_TRGENBL = LCI_TAG_PARM_BASE + 5,
  LCI_TAG_CAL_TRGENBH = LCI_TAG_PARM_BASE + 6,
  LCI_TAG_CAL_CALENBL = LCI_TAG_PARM_BASE + 7,
  LCI_TAG_CAL_CALENBH = LCI_TAG_PARM_BASE + 8,
  LCI_TAG_CAL_CALGAIN = LCI_TAG_PARM_BASE + 9,
  LCI_TAG_CAL_TRGLO = LCI_TAG_ITER_BASE + 0,
  LCI_TAG_CAL_TRGHI = LCI_TAG_ITER_BASE + 1,
  LCI_TAG_CAL_TACK = LCI_TAG_ITER_BASE + 2,
  LCI_TAG_CAL_COLUMN = LCI_TAG_ITER_BASE + 3,
  LCI_TAG_CAL_INJECT = LCI_TAG_ITER_BASE + 4,
  LCI_TAG_CAL_ACCEPT = LCI_TAG_ITER_BASE + 5,
  LCI_TAG_CAL_ULD = LCI_TAG_ITER_BASE + 6,
  LCI_TAG_TKR_SPLITLO = LCI_TAG_PARM_BASE + 0,
  LCI_TAG_TKR_SPLITHI = LCI_TAG_PARM_BASE + 1,
  LCI_TAG_TKR_TACK = LCI_TAG_ITER_BASE + 0,
  LCI_TAG_TKR_THRESH = LCI_TAG_ITER_BASE + 1,
  LCI_TAG_TKR_CHANNEL = LCI_TAG_ITER_BASE + 2,
  LCI_TAG_TKR_INJECT = LCI_TAG_ITER_BASE + 3
}
 XLX tag IDs.
enum  {
  LCI_MAX_ACD_PHA = 0x0fff,
  LCI_MAX_ACD_VETO = 0x003f,
  LCI_MAX_ACD_VERNIER = 0x003f,
  LCI_MAX_ACD_HLD = 0x003f,
  LCI_MAX_ACD_INJECT = 0x003f,
  LCI_MAX_ACD_BIAS = 0x003f,
  LCI_MAX_ACD_HOLD = 0x007f,
  LCI_MAX_ACD_HITMAP = 0x001f,
  LCI_MAX_ACD_CHANNEL = LSEC_N_ACD_CHNL - 1,
  LCI_MAX_CAL_FIRST = LCI_M_CAL_FRST_RNG,
  LCI_MAX_CAL_GAINLO = LCI_M_CAL_GAIN_LE,
  LCI_MAX_CAL_GAINHI = LCI_M_CAL_GAIN_HE,
  LCI_MAX_CAL_TRGLO = 0x007f,
  LCI_MAX_CAL_TRGHI = 0x007f,
  LCI_MAX_CAL_TACK = 0x00ff,
  LCI_MAX_CAL_COLUMN = LSEC_N_CAL_COL - 1,
  LCI_MAX_CAL_INJECT = 0x0fff,
  LCI_MAX_CAL_ACCEPT = 0x007f,
  LCI_MAX_CAL_ULD = 0x007f,
  LCI_MAX_TKR_SPLITLO = LSEC_N_TKR_FE,
  LCI_MAX_TKR_SPLITHI = LSEC_N_TKR_FE,
  LCI_MAX_TKR_TACK = 0x00ff,
  LCI_MAX_TKR_THRESH = LCI_M_TKR_DAC,
  LCI_MAX_TKR_CHANNEL = (LSEC_N_TKR_FE * LSEC_N_TKR_CHNL) - 1,
  LCI_MAX_TKR_INJECT = LCI_M_TKR_DAC
}
 Maximum values for parameters.
enum  {
  STS_BADDOCTYPE = 0x0001,
  STS_NODOCTYPE = 0x0002,
  STS_GOTVALUE = 0x0004,
  STS_GOTINIT = 0x0010,
  STS_GOTDELTA = 0x0020,
  STS_GOTCOUNT = 0x0040,
  STS_GOTITER = STS_GOTINIT | STS_GOTDELTA | STS_GOTCOUNT
}
 Compilation status flags. More...

Functions

LCI_compilationLCI_newCompilation (void)
void LCI_deleteCompilation (LCI_compilation *cpl)
unsigned LCI_setMode (const char *mode, LCI_compilation *cmp)
void LCI_procDoctype (XLX_state *xst, const char *type, const char *sysId, const char *pubId, int intSub)
void LCI_writeOnExit (XLX_state *xst)
void LCI_enterLatcDelay (XLX_state *xst, const char **attr)
void LCI_enterDelay (XLX_state *xst, const char **attr)
void LCI_enterPeriod (XLX_state *xst, const char **attr)
void LCI_enterNumber (XLX_state *xst, const char **attr)
void LCI_enterStrobe (XLX_state *xst, const char **attr)
void LCI_enterSuppress (XLX_state *xst, const char **attr)
void LCI_enterAcdPha (XLX_state *xst, const char **attr)
void LCI_enterAcdVeto (XLX_state *xst, const char **attr)
void LCI_enterAcdVernier (XLX_state *xst, const char **attr)
void LCI_enterAcdHld (XLX_state *xst, const char **attr)
void LCI_enterAcdInj (XLX_state *xst, const char **attr)
void LCI_enterAcdBias (XLX_state *xst, const char **attr)
void LCI_enterAcdHoldDelay (XLX_state *xst, const char **attr)
void LCI_enterAcdHitmapDelay (XLX_state *xst, const char **attr)
void LCI_enterAcdChnl (XLX_state *xst, const char **attr)
void LCI_enterAcdRange (XLX_state *xst, const char **attr)
void LCI_enterCalTrgLo (XLX_state *xst, const char **attr)
void LCI_enterCalTrgHi (XLX_state *xst, const char **attr)
void LCI_enterCalTack (XLX_state *xst, const char **attr)
void LCI_enterCalAcc (XLX_state *xst, const char **attr)
void LCI_enterCalUld (XLX_state *xst, const char **attr)
void LCI_enterCalInj (XLX_state *xst, const char **attr)
void LCI_enterCalCol (XLX_state *xst, const char **attr)
void LCI_enterCalFourRng (XLX_state *xst, const char **attr)
void LCI_enterCalFirstRng (XLX_state *xst, const char **attr)
void LCI_enterCalGainHi (XLX_state *xst, const char **attr)
void LCI_enterCalGainLo (XLX_state *xst, const char **attr)
void LCI_enterCalRngEnabHi (XLX_state *xst, const char **attr)
void LCI_enterCalRngEnabLo (XLX_state *xst, const char **attr)
void LCI_enterCalTrgEnabHi (XLX_state *xst, const char **attr)
void LCI_enterCalTrgEnabLo (XLX_state *xst, const char **attr)
void LCI_enterCalCalEnabHi (XLX_state *xst, const char **attr)
void LCI_enterCalCalEnabLo (XLX_state *xst, const char **attr)
void LCI_enterCalCalGain (XLX_state *xst, const char **attr)
void LCI_enterTkrThr (XLX_state *xst, const char **attr)
void LCI_enterTkrInj (XLX_state *xst, const char **attr)
void LCI_enterTkrChnl (XLX_state *xst, const char **attr)
void LCI_enterTkrTack (XLX_state *xst, const char **attr)
void LCI_enterTkrSplitHi (XLX_state *xst, const char **attr)
void LCI_enterTkrSplitLo (XLX_state *xst, const char **attr)
void LCI_enterItemCnst (XLX_state *xst, const char **attr)
void LCI_enterItemInit (XLX_state *xst, const char **attr)
void LCI_enterItemDelta (XLX_state *xst, const char **attr)
void LCI_enterItemCount (XLX_state *xst, const char **attr)
void LCI_charSetAcdChnl (XLX_state *xst, const char *element, int len)
void LCI_charSetCalCol (XLX_state *xst, const char *element, int len)
void LCI_charSetTkrChnl (XLX_state *xst, const char *element, int len)
void LCI_fillItemKeyword (XLX_state *xst, const char *element, int len)
void LCI_fillItemCnst (XLX_state *xst, const char *element, int len)
void LCI_fillItemInit (XLX_state *xst, const char *element, int len)
void LCI_fillItemDelta (XLX_state *xst, const char *element, int len)
void LCI_fillItemCount (XLX_state *xst, const char *element, int len)
void LCI_charSetParam (XLX_state *xst, const char *element, int len)
void LCI_charSetParamLatc (XLX_state *xst, const char *element, int len)
void LCI_charSetParamOnOff (XLX_state *xst, const char *element, int len)
void LCI_charSetParamHiLo (XLX_state *xst, const char *element, int len)
void LCI_charSetPeriod (XLX_state *xst, const char *element, int len)
void LCI_charSetStrobe (XLX_state *xst, const char *element, int len)
void LCI_charSetSuppress (XLX_state *xst, const char *element, int len)
void LCI_charSetCalAutoRng (XLX_state *xst, const char *element, int len)
void LCI_charSetCalFourRng (XLX_state *xst, const char *element, int len)
void LCI_charSetCalFirstRng (XLX_state *xst, const char *element, int len)
void LCI_exitIter (XLX_state *xst)
void LCI_exitParam (XLX_state *xst)
void LCI_startItem (LCI_compilation *cmp, void *item, int tag, unsigned int maxm)
unsigned LCI_keyword (const char *element, int len, const char *keyword)
unsigned LCI_strtoi (LCI_compilation *cmp, const char *string, int len, int *value)
unsigned LCI_strtou (LCI_compilation *cmp, const char *string, int len, unsigned *value)
unsigned LCI_strtoll (LCI_compilation *cmp, const char *string, int len, long long *value)
unsigned LCI_strtoull (LCI_compilation *cmp, const char *string, int len, unsigned long long *value)
void LCI_getTagName (LCI_compilation *cmp, char *name, int leng)
void LCI_getMapName (LCI_tagIdMap *map, char *name, int leng)

Detailed Description

Private definition of the compilation structure.

Author:
James Swain & Owen Saxton

$Id: compile_p.h,v 1.12 2011/03/29 19:32:56 saxton Exp $


Enumeration Type Documentation

anonymous enum

Compilation status flags.

Enumerator:
STS_BADDOCTYPE 

The DOCTYPE type was not recognized.

STS_NODOCTYPE 

No DOCTYPE declaration was found.

STS_GOTVALUE 

Tag has a value.

STS_GOTINIT 

Got "initial" tag.

STS_GOTDELTA 

Got "delta" tag.

STS_GOTCOUNT 

Got "count" tag.

STS_GOTITER 

Got all iterator tags (effectively)