GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EFC / V4-1-0
Constituent: efcprint     Tag: sun-gcc
#include "EFC/EFC_fate.h"
#include "EFC/EFA_def.h"
#include "EDS/EDS_fw.h"
#include "EDS/EBF_siv.h"
#include "EDS_DB/EDS_DB_schema.h"
Include dependency graph for EFC.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _EFC_services |
The defining services of a standard filter. More... | |
struct | _EFC_sizes |
The defining sizes the filters control block, configuration block and result vector. More... | |
struct | _EFC_classes |
Breaks the status word into classes of bits. More... | |
struct | _EFC_definition |
The defining values of a standard filter. More... | |
Typedefs | |
typedef void *(* | EFC_servicesConstruct )(void *ctl, const void *parameters) |
Constructs the configuration parameters block. | |
typedef EFC_fate(* | EFC_servicesFilter )(void *ctl, int pktBytes, EBF_pkt *pkt, EBF_siv siv, EDS_fwIxb *ixb, unsigned int vetoes, void *result) |
EFC filter routine function signature. | |
typedef void *(* | EFC_servicesCfgSet )(void *cfg_ctl, const void *parameters) |
Constructs the configuration parameters block. | |
typedef void(* | EFC_servicesDestruct )(void *ctl) |
Destroys this filter's context. | |
typedef unsigned int(* | EFC_servicesReport )(void *prm, const void *cfg, const EFC_sampler *sampler, int which) |
Configuration reporting callback routine. | |
typedef _EFC_services | EFC_services |
Typedef for struct _EFC_services. | |
typedef _EFC_sizes | EFC_sizes |
Typedef for struct _EFC_sizes. | |
typedef _EFC_classes | EFC_classes |
Typedef for struct _EFC_classes. | |
typedef _EFC_definition | EFC_definition |
Typedef for struct _EFC_defintion. | |
typedef enum _EFC_OBJECT_K | EFC_OBJECT_K |
Typedef for enum _EFC_OBJECT_K. | |
Enumerations | |
enum | _EFC_OBJECT_K { EFC_OBJECT_K_MODE = 0, EFC_OBJECT_K_FILTER_RTN = 1, EFC_OBJECT_K_FILTER_PRM = 2, EFC_OBJECT_K_CFGSET_RTN = 3, EFC_OBJECT_K_REPORT_RTN = 4, EFC_OBJECT_K_SAMPLER = 5, EFC_OBJECT_K_EFA = 6, EFC_OBJECT_K_ID = 7 } |
Enumeration of the objects. More... | |
Functions | |
int | EFC_sizeof (const EFC_DB_SchemaFilter *schema, void *prm, const EFC_sizes *sizes) |
const EDS_fwHandlerServicesX1 * | EFC_construct (EFC *efc, unsigned int handler_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) |
unsigned int | EFC_objectsAdd (EDS_fw *fw, unsigned int objects) |
unsigned int | EFC_objectsGet (const EFC *efc) |
unsigned int | EFC_needsGet (const EFC *efc) |
void * | EFC_get (const EFC *efc, EFC_OBJECT_K object) |
int | EFC_set (EFC *efc, EFC_OBJECT_K object, void *value) |
int | EFC_filter (EFC *efc, unsigned int pktBytes, EBF_pkt *pkt, EBF_siv siv, EDS_fwIxb *ixb, int id) |
const EFC_DB_Schema * | EFC_lookup (unsigned short int schema_id, unsigned short int instance_id) |
int | EFC_modeAssociate (EFC *efc, int mode, int configuration) |
int | EFC_modeSelect (EFC *efc, int mode, EDS_cfgInfo *info) |
int | EFC_start (EFC *efc, unsigned int reason, unsigned int run_id, unsigned int start_time, unsigned int mode) |
void | EFC_report (EFC *efc, unsigned int list) |
int | EFC_teardown (EFC *efc) |
CVS $Id: EFC.h,v 1.6 2007/10/10 23:40:42 russell Exp $
|
Typedef for struct _EFC_defintion. The original definition of an EFC_definition did not contain that information. In order to stay backwards compatible, an augmented version, EFC_definitionC, along with a matching constructor, EFC_constructC was added. With EFC_2.0.0, the qualifying C was dropped and all references to the original version were eliminated. |
|
Typedef for enum _EFC_OBJECT_K. This enumerates the objects that can be accessed and set via the EFC_objectGet and EFC_objectSet routines. These routines allow access to the private EFC structure and is meant to be used mainly in a debugging environment. However, there may be uses for this outside of that arena, so it was decided to exposed this as a general interface. With that said, one should realize that this facility should be used with caution. The one very legitimate use is to get a pointer to the filter specific parameter. This would be called immediately after EFC_construct completes. Fetching this value will all the user to complete initialization of the structure. This was omitted from the first implementation by oversight and by the fact that the early filters did not need it. |
|
Constructs the configuration parameters block.
|
|
Constructs the configuration parameters block.
|
|
Destroys this filter's context.
|
|
EFC filter routine function signature.
|
|
Configuration reporting callback routine.
|
|