GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LATC / V9-1-3 > QLATC_print / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

imm.h File Reference

LATC in-memory-model structure. More...

#include <map.h>
#include <LEM/list_structs.h>
#include <AG_initIMM_p.h>

Defines

#define CHECK_TYPE(t_)
 Check that the type is valid.
#define CHECK_IDS(t_, r_, f_)
 Check that the reg ID and fld ID are consistent with the type.

Functions

LATC_imm * LATC_newIMM (void)
void LATC_deleteIMM (LATC_imm *imm)
void LATC_clearIMM (LATC_imm *imm)


Detailed Description

LATC in-memory-model structure.

Author:
James Swain -- jswain@slac.stanford.edu

Define Documentation

#define CHECK_IDS ( t_,
r_,
f_   ) 

Value:

{ \
  if(r_ >= ld[t_]->nregs)        return _msg_report(LATC_BADREG,   0, 2, r_, ld[t_]->nregs); \
  if(f_ >= ld[t_]->rd[r_].nflds) return _msg_report(LATC_BADFIELD, 0, 2, f_, ld[t_]->rd[r_].nflds); \
}
Check that the reg ID and fld ID are consistent with the type.

#define CHECK_TYPE ( t_   ) 

Value:

{ \
  if(N_LATC_TYPES <= t_) return _msg_report(LATC_BADTYPE,  0, 1, t_); \
  if(!ld[t_])            return _msg_report(LATC_NOCPT,    0, 1, t_); \
}
Check that the type is valid.


Generated on Tue Sep 27 17:19:18 2011 by  doxygen 1.5.8