GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LATC / V9-1-3 > latc_host / rhel4-32


Interface   Data Structures   File List   Data Fields   Globals  

parser_state_p.h File Reference

Definition of LatcState structure. More...

#include <XLX/XLX.h>
#include <parser_descriptor_p.h>

Classes

struct  LATC_state
 State of a LATC parser. More...

Functions

void readField (XLX_state *xState, const char *element, int len)
 Interprets a character element in the context of populating a LATC_imm.
void mapChar (XLX_state *xState, const char *element, int len)
 Interprets a character element in the context of setting and clearing map bits.


Detailed Description

Definition of LatcState structure.

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

Function Documentation

void mapChar ( XLX_state *  xState,
const char *  element,
int  len 
)

Interprets a character element in the context of setting and clearing map bits.

Parameters:
xState XLX State of the parser
element Character element
len Length of the character element

References LATC_state::addr, LATC_state::latc, and LATC_tag::type.

Referenced by LATC_parseMap().

void readField ( XLX_state *  xState,
const char *  element,
int  len 
)

Interprets a character element in the context of populating a LATC_imm.

Parameters:
xState XLX State of the parser
element Charater element
len Length of the character element

References LATC_state::addr, checkBit(), LATC_state::excptn, LATC_descriptor::fldId, LATC_state::latc, readLng(), readLngLng(), readShort(), LATC_descriptor::regId, and LATC_tag::type.

Referenced by LATC_parse().


Generated on Sat Apr 9 19:53:21 2011 by  doxygen 1.5.8