GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / V4-5-0 > gdefc / rhel6-64
#include <EFC/EFC_std.h>
#include <EFC/EFC.h>
#include <EFC/EFA.h>
#include <EFC/EFS.h>
#include <EFC_DB/EFC_DB_schema.h>
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. |
CVS $Id: EFC_std.c,v 1.2 2011/03/27 04:55:30 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.
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.
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 |
References EFA_construct(), EFC_construct(), EFC_get(), EFC_OBJECT_K_EFA, EFC_sizeof(), _EFC_sizes::result, and _EFC_definition::sizes.
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.
schema | The handler database schema | |
def | The handler defintion | |
efa_cnt | Number of result vectors to gather before submitting them to the analysis services |
References EFA_sizeof(), EFC_sizeof(), _EFC_sizes::result, and _EFC_definition::sizes.