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

Constituent: efc     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

EFC_std.c File Reference

Sizes and constructs a standard EFC configuration. More...

#include "EFC/EFC_std.h"
#include "EFC/EFC.h"
#include "EFC/EFA.h"
#include "EFC/EFS.h"
#include "EFC_DB/EFC_DB_schema.h"
#include "LSF/LSF_cpu.h"
#include "LSF/LSF_origin.h"

Include dependency graph for EFC_std.c:


Defines

#define NULL   ((void *)0)

Functions

int EFC_stdSizeof (const EFC_DB_Schema *schema, const EFC_definition *def, int efa_cnt)
 Convenience routine to compute the size, in bytes, when the user is content with the standard setup.
const EDS_fwHandlerServicesX1 * EFC_stdConstruct (EFC *efc, unsigned int handler_id, const EFC_DB_Schema *schema, unsigned int schema_key, LSD_sdiWriteCbp *write, EDS_fw *edsFw, const EFC_definition *definition, unsigned int fw_objects, unsigned int fw_needs, int efa_cnt)
 Convenience routine to construct the standard configuration.

Detailed Description

Sizes and constructs a standard EFC configuration.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: EFC_std.c,v 1.1 2007/10/10 23:40:43 russell Exp $

This is purely a set of convenience routines that package a standard set of operations. These routines make use of no special knowledge about EFC, i.e. anything done here could be done in any other package that wishes to draw on the services of EFC.

While this is convenient, it does force the caller into using EFS as the analysis package.


Function Documentation

const EDS_fwHandlerServicesX1* EFC_stdConstruct EFC efc,
unsigned int  handler_id,
const EFC_DB_Schema *  schema,
unsigned int  schema_key,
LSD_sdiWriteCbp *  write,
EDS_fw *  edsFw,
const EFC_definition definition,
unsigned int  fw_objects,
unsigned int  fw_needs,
int  efa_cnt
 

Convenience routine to construct the standard configuration.

Returns:
The set of EDS_fw services
Parameters:
efc The Event Filter Control block to initialize
handler_id The id (EFC_DB_id) of this handler. This is used as an offset to the base value of the EFS datagram identifier
schema Pointer to the schema of the filter configuration file
schema_key The file (FMX) key of the schema
write The output write routine + parameter
edsFw The controlling EDS framework handle
definition The defining information for this filter
fw_objects The list of EDS framework objects used by this filter
fw_needs The list of EDS needs for this filter.
efa_cnt Number of result vectors to gather before submitting them to the analysis services
This bundles setting up the filter and analysis handles. There is nothing magical going on here, it is purely for convenience. The main limitation is that the standard package uses EFS for the analysis.

int EFC_stdSizeof const EFC_DB_Schema *  schema,
const EFC_definition def,
int  efa_cnt
 

Convenience routine to compute the size, in bytes, when the user is content with the standard setup.

Returns:
The size, in bytes, of the standard setup
Parameters:
schema The handler database schema
def The handler defintion
efa_cnt Number of result vectors to gather before submitting them to the analysis services


Generated on Fri Sep 5 01:21:13 2008 by  doxygen 1.4.4