GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RIM / V0-0-2

Constituent: lrd_parser     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

cptDetail_p.h File Reference

Definition of CptDetail structure. More...

#include "PBS/L.h"
#include "XLX/stack.h"
#include <stddef.h>

Include dependency graph for cptDetail_p.h:

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


Data Structures

struct  CptDetail
 Structure containing some imformation about the current cpt. More...

Functions

CptDetailnewCptDetail (void)
 Uses malloc to create a CptDetail which is then intialised.
void deleteCptDetail (void *ptr)
 Empties the lists and then frees the memory.
void scpt_cptDetail (CptDetail *cd, const char *name, unsigned regWidth, unsigned multi)
 Populate the structure holding details of the current component.
void sreg_cptDetail (CptDetail *cd, const char *regName)
 Add strings to the lists of children of the component.
void sfld_cptDetail (CptDetail *cd)
 NO_OP.
void ereg_cptDetail (CptDetail *cd, unsigned regId, unsigned nFld, const char *regName)
 Add field to the list of registers.
void ecpt_cptDetail (CptDetail *cd, CptDetail *parent)
 Finish off any lists in the component.

Detailed Description

Definition of CptDetail structure.

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

Function Documentation

void deleteCptDetail void *  ptr  ) 
 

Empties the lists and then frees the memory.

Parameters:
ptr To structure to delete

void ecpt_cptDetail CptDetail cd,
CptDetail parent
 

Finish off any lists in the component.

Parameters:
cd Structure holding details of the current component
parent Pointer to parent CptDetail

void ereg_cptDetail CptDetail cd,
unsigned  regId,
unsigned  nFld,
const char *  regName
 

Add field to the list of registers.

Parameters:
cd Pointer to the structure containing details of the current component
regId Register ID
nFld Number of fields in the register
regName Register name

CptDetail * newCptDetail void   ) 
 

Uses malloc to create a CptDetail which is then intialised.

Returns:
Ptr to initialised CptDetail

void scpt_cptDetail CptDetail cd,
const char *  name,
unsigned  regWidth,
unsigned  multi
 

Populate the structure holding details of the current component.

Parameters:
cd Structure holding details of the current component
name Name of the component
regWidth Width (in bits) of the registers of this component
multi 1 indicated that there can be multiple instances of this component (contained by the same parent), 0 indicates otherwise

void sfld_cptDetail CptDetail cd  ) 
 

NO_OP.

Parameters:
cd Pointer to the structure containing details of the current component

void sreg_cptDetail CptDetail cd,
const char *  regName
 

Add strings to the lists of children of the component.

Parameters:
cd Pointer to the structure containing details of the current component
regName String identifying the current register


Generated on Thu Apr 13 23:38:19 2006 by  doxygen 1.4.4