GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / V4-5-0 > efcprint / rad750
#include <EFC/EFC_samplerPrint.h>
#include <EFC/EFC_samplerDef.h>
#include <stdio.h>
Functions | |
static void | printHeader (const char *title) |
Prints the format and instance versioning information. | |
static void | printClasses (const EFC_samplerClasses *classes) |
Prints the static information. | |
static int | printPrescales (const EFC_samplerPrescaleCtx *prescaler) |
Prints the contents of a sampler configuration record. | |
int | EFC_samplerPrint (const EFC_sampler *sampler, const char *title) |
Prints the contents of the parameter configuration record. | |
static void | printSeparator (void) |
Prints a separating line. |
CVS $Id: EFC_samplerPrint.c,v 1.5 2011/11/14 17:56:37 russell Exp $
EFC_samplerPrint | ( | const EFC_sampler * | sampler, | |
const char * | title | |||
) |
Prints the contents of the parameter configuration record.
0,Print | successfully completed | |
-1,Unrecognized | or unsupported configuration version |
sampler | The sampler record to print | |
title | Optional identifing title |
References _EFC_sampler::classes, _EFC_sampler::prescale, printClasses(), printHeader(), and printPrescales().
static void printClasses | ( | const EFC_samplerClasses * | classes | ) | [static] |
Prints the static information.
classes | The sampler classes structure to print |
References _EFC_classes::all, _EFC_samplerClasses::defined, _EFC_samplerClasses::enabled, _EFC_classes::info, _EFC_classes::passes, printSeparator(), and _EFC_classes::vetoes.
Referenced by EFC_samplerPrint().
static void printHeader | ( | const char * | title | ) | [static] |
Prints the format and instance versioning information.
title | An optional string giving a description of what is to follow |
References printSeparator().
Referenced by EFC_samplerPrint().
static int printPrescales | ( | const EFC_samplerPrescaleCtx * | prescale | ) | [static] |
Prints the contents of a sampler configuration record.
0,Print | successfully completed | |
-1,Unrecognized | or unsupported configuration version |
prescale | The prescale context to print |
References _EFC_classes::all, _EFC_samplerPrescaleCtx::enabled, _EFC_samplerPrescaleCtx::in, _EFC_samplerPrescaleCtx::out, _EFC_samplerPrescaleCtx::prescalers, printSeparator(), and _EFC_samplerPrescaleCounter::refresh.
Referenced by EFC_samplerPrint().