GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EFC / V4-1-1

Constituent: igfc     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

GFC_cfgPrint.c File Reference

Prints the contents of the user parameter and/or sampling configuration blocks. record. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "EFC/GFC_cfg.h"
#include "GFC_def.h"
#include "EFC/EFC_samplerPrint.h"
#include "EFC/GFC_cfgPrint.h"
#include "EDS/ECR_cal.h"
#include "AFC_splashMapDef.h"
#include "ATF_shadowedTowersDef.h"

Include dependency graph for GFC_cfgPrint.c:


Functions

static void printHdr (const char *title)
 Prints a header.
static void printCfg (const GammaCfgPrms *cfg)
 Prints the contents of a configuration.
unsigned int GFC_cfgPrint (void *ctx, const GFC_cfg *cfg, const EFC_sampler *sampler, unsigned int list)
 Callback routine to print the parameters.

Detailed Description

Prints the contents of the user parameter and/or sampling configuration blocks. record.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id

Function Documentation

unsigned int GFC_cfgPrint void *  ctx,
const GFC_cfg cfg,
const EFC_sampler *  sampler,
unsigned int  list
 

Callback routine to print the parameters.

Returns:
The modified list
Parameters:
ctx User context parameter (ignored in this routine)
cfg The configuration block to print
sampler The sampler block
list The list of blocks left to print, by implication, done when this is 0.

static void printCfg const GammaCfgPrms cfg  )  [static]
 

Prints the contents of a configuration.

Return values:
0,Print successfully completed
-1,Unrecognized or unsupported configuration version
Parameters:
cfg The gamma configuration to print

static void printHdr const char *  title  )  [static]
 

Prints a header.

Parameters:
title A string giving a description of what is to follow


Generated on Fri Jan 25 01:26:36 2008 by  doxygen 1.4.4