GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EFC / V4-1-0
Constituent: efc     Tag: mv2304
#include "EFC_DB/EFC_DB_schemaFilter.h"
#include "EFC_DB/EFC_DB_sampler.h"
#include "EFC/EFC.h"
#include "EFC/EFA.h"
#include "EFA_p.h"
#include "EFC_samplerDef.h"
#include "EFC/EFC_edsFw.h"
#include "EDS/EDS_fwServices.h"
#include "EDS/EDS_cfg.h"
#include "EDS/EBF_siv.h"
#include "EDS/FFS.h"
#include "EFC/EFR_key.h"
#include "CDM/CDM_pubdefs.h"
#include "CMX/CMX_lookupPub.h"
#include <string.h>
Include dependency graph for EFC.c:
Data Structures | |
struct | _EFC_cfgDbMember |
One database member. More... | |
struct | _EFC_cfgDb |
The database of bound the filter's bound sampler and configuration blocks. More... | |
struct | _EFC_cfg |
The configuration control structure. More... | |
struct | _EFC |
The control structure for the filter framework. More... | |
Typedefs | |
typedef _EFC_cfgDbMember | EFC_cfgDbMember |
Typedef for struct _EFCcfgDbMember. | |
typedef _EFC_cfgDb | EFC_cfgDb |
Typedef for struct _EFC_cfgDb. | |
typedef _EFC_cfg | EFC_cfg |
Typedef for struct _EFC_cfg. | |
typedef _EFC | EFC |
Functions | |
const EDS_fwHandlerServicesX1 * | construct_efc (EFC *efc, unsigned int id, const EFC_DB_SchemaFilter *schema, unsigned int schema_key, void *prm, EDS_fw *edsFw, const EFC_services *services, const EFC_sizes *sizes, const EFC_classes *classes, unsigned int objects, unsigned int needs) |
Resolves all the indirect references in the specified master configuration file and files in both the EFC control structure and the filter specific control structure. | |
static __inline void | copyResult (EDS_rsdDsc *dsc, unsigned int *results, unsigned int flip) |
Copies the result vector into the result summary data descriptor. | |
static __inline unsigned int | getActive (EFC_sampler *sampler) |
Gets the active set of vetoes and passes bits for this event. | |
static __inline unsigned int | updateDisabledPasses (EFC_sampler *sampler, unsigned int disabled_passes, unsigned int status) |
Updates the list of disabled pass bits. | |
int | updatePrescaler (EFC_samplerPrescaleCounter *prescaler) |
Updates the prescaler. | |
static __inline int | construct_prescaler (EFC_samplerPrescaleCounter *prescaler, int refresh) |
Constructs a prescaler. | |
static void | construct_sampler (EFC_sampler *sampler, const EFC_DB_sampler *db_sampler, const EFC_classes *defined) |
Compiles/commits the set of user sampling parameters into the the configuration block. | |
static int | efc_flush (EFC *efc, int reason) |
Currently just a call-through to EFA_flush. | |
static int | efc_result_sizeof (EFC *efc) |
Just a call-through to EFA_resultSizeof. | |
const EFC_DB_Schema * | EFC_lookup (unsigned short int schema_id, unsigned short int instance_id) |
Looks up the CDM database associated with the specified schema_id and instance_id. | |
const EDS_fwHandlerServicesX1 * | EFC_construct (EFC *efc, unsigned int id, const EFC_DB_SchemaFilter *schema, unsigned int schema_key, void *prm, EDS_fw *edsFw, const EFC_definition *definition, unsigned int objects, unsigned int needs) |
Resolves all the indirect references in the specified master configuration file and files in both the EFC control structure and the filter specific control structure. This is merely a call-through to the general purpose constructor. | |
void * | EFC_get (const EFC *efc, EFC_OBJECT_K object) |
Returns a pointer to named object. | |
int | EFC_set (EFC *efc, EFC_OBJECT_K object, void *value) |
Sets the named object to the specified value. This is primarily used for backdoor debugging. | |
unsigned int | EFC_objectsGet (const EFC *efc) |
Returns the list of EDS framework objects needed by this filter. | |
unsigned int | EFC_needsGet (const EFC *efc) |
Returns the list of EDS framework needs for this filter. | |
int | EFC_modeAssociate (EFC *efc, int mode, int configuration) |
Establish a new configuration to be associated with the indicated mode. | |
int | EFC_modeSelect (EFC *efc, int mode, EDS_cfgInfo *info) |
Selects the operating environment according to the specified mode. | |
int | EFC_start (EFC *efc, unsigned int reason, unsigned int run_id, unsigned int start_time, unsigned int mode) |
EDS start run callback routine. | |
int | EFC_sizeof (const EFC_DB_SchemaFilter *schema, void *prm, const EFC_sizes *sizes) |
Returns the size, in bytes, of the filter control structure and the associated configuration constants. | |
void | EFC_report (EFC *efc, unsigned int list) |
Calls back the user to report on the configuration. | |
int | EFC_filter (EFC *efc, unsigned int pktBytes, EBF_pkt *pkt, EBF_siv siv, EDS_fwIxb *ixb, int id) |
Calls the filter function for each of the specified events. | |
int | EFC_destruct (EFC *efc) |
Returns any resources garnered by EFC_construct. |
CVS $Id: EFC.c,v 1.18 2007/12/03 21:31:30 russell Exp $
|
Resolves all the indirect references in the specified master configuration file and files in both the EFC control structure and the filter specific control structure.
|
|
Constructs a prescaler.
|
|
Compiles/commits the set of user sampling parameters into the the configuration block.
|
|
Copies the result vector into the result summary data descriptor.
|
|
Resolves all the indirect references in the specified master configuration file and files in both the EFC control structure and the filter specific control structure. This is merely a call-through to the general purpose constructor.
|
|
Returns any resources garnered by EFC_construct.
|
|
Calls the filter function for each of the specified events.
|
|
Currently just a call-through to EFA_flush.
|
|
Returns a pointer to named object.
|
|
Looks up the CDM database associated with the specified schema_id and instance_id.
|
|
Establish a new configuration to be associated with the indicated mode.
|
|
Selects the operating environment according to the specified mode.
|
|
Returns the list of EDS framework needs for this filter.
|
|
Returns the list of EDS framework objects needed by this filter.
|
|
Calls back the user to report on the configuration.
|
|
Just a call-through to EFA_resultSizeof.
|
|
Sets the named object to the specified value. This is primarily used for backdoor debugging.
|
|
Returns the size, in bytes, of the filter control structure and the associated configuration constants.
|
|
EDS start run callback routine.
|
|
Gets the active set of vetoes and passes bits for this event.
|
|
Updates the list of disabled pass bits.
|
|
Updates the prescaler.
|