GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PFC_DB / dev > pfc / rhel4-32
#include <stdio.h>
#include <PFC_DB/PFC.h>
#include <PFC_DB/PFC_DB_schema.h>
#include <EDS_DB/EDS_DB_schema.h>
#include <EDS/EDS_fw.h>
#include <EDS/EBF_siv.h>
#include <EDS/EDS_fwServices.h>
#include <EDS/EDS_cfg.h>
Classes | |
struct | _PFC_Control |
Structure to hold the PFC control data. More... | |
Typedefs | |
typedef struct _EBF_pkt | EBF_pkt |
typedef struct _PFC_Control | PFC_Control |
Typedef for struct _PFC_Control. | |
Functions | |
static unsigned int | PFC_sizeOf (const void *schema, void *prm) |
Services sizeof routine. | |
static EDS_fwHandlerServicesX1 * | PFC_construct (void *ctl, unsigned int hid, const void *schema, unsigned int schema_key, void *prm, EDS_fw *edsFw) |
Services construct routine. | |
static unsigned int | PFC_objects (void *prm) |
Get objects routine. | |
static unsigned int | PFC_needs (void *prm) |
Get needs routine. | |
static unsigned int | PFC_process (void *ctl, unsigned int pktBytes, EBF_pkt *pkt, EBF_siv siv, EDS_fwIxb *ixb, int id) |
Handler process routine. | |
static unsigned int | PFC_associate (void *ctl, unsigned int mode, unsigned int cfg) |
Associate mode routine. | |
static unsigned int | PFC_select (void *ctl, unsigned int mode, EDS_cfgInfo *cfg) |
Select mode routine. | |
static unsigned int | PFC_flush (void *prm, unsigned int reason) |
Handler flush routine. | |
static unsigned int | PFC_destruct (void *prm) |
Destruction routine. | |
EDS_DB_HandlerConstructServices * | PFC_getServices (unsigned int prm) |
Service get routine. | |
Variables | |
static EDS_DB_HandlerConstructServices | PFC_ConSvc |
The static instance of the PFC services structure. | |
static EDS_fwHandlerServicesX1 | PFC_Svc |
The static instance of the PFC services structure. |
CVS $Id: PFC.c,v 1.8 2011/03/26 22:29:47 russell Exp $
static unsigned int PFC_associate | ( | void * | ctl, | |
unsigned int | mode, | |||
unsigned int | cfg | |||
) | [static] |
static EDS_fwHandlerServicesX1 * PFC_construct | ( | void * | ctl, | |
unsigned int | handler_id, | |||
const void * | schema, | |||
unsigned int | schema_key, | |||
void * | unused, | |||
EDS_fw * | edsFw | |||
) | [static] |
Services construct routine.
1 | Failure | |
0 | Success |
References _PFC_Control::evt_cnt, _PFC_Control::hid, _PFC_Control::key, _PFC_DB_Schema::needs, _PFC_Control::needs, _PFC_DB_Schema::objects, _PFC_Control::objects, PFC_associate(), PFC_destruct(), PFC_flush(), PFC_needs(), PFC_objects(), PFC_process(), PFC_select(), PFC_Svc, _PFC_DB_Schema::prescale, and _PFC_Control::prescale.
Referenced by PFC_getServices().
static unsigned int PFC_destruct | ( | void * | prm | ) | [static] |
static unsigned int PFC_flush | ( | void * | prm, | |
unsigned int | reason | |||
) | [static] |
Handler flush routine.
1 | Failure | |
0 | Success |
References _PFC_Control::evt_cnt.
Referenced by PFC_construct().
EDS_DB_HandlerConstructServices * PFC_getServices | ( | unsigned int | prm | ) |
Service get routine.
1 | Failure | |
0 | Success |
References PFC_construct(), PFC_ConSvc, and PFC_sizeOf().
static unsigned int PFC_needs | ( | void * | prm | ) | [static] |
Get needs routine.
1 | Failure | |
0 | Success |
References _PFC_Control::needs.
Referenced by PFC_construct().
static unsigned int PFC_objects | ( | void * | prm | ) | [static] |
Get objects routine.
1 | Failure | |
0 | Success |
References _PFC_Control::objects.
Referenced by PFC_construct().
static unsigned int PFC_process | ( | void * | prm, | |
unsigned int | pktBytes, | |||
EBF_pkt * | pkt, | |||
EBF_siv | siv, | |||
EDS_fwIxb * | ixb, | |||
int | id | |||
) | [static] |
Handler process routine.
1 | Failure | |
0 | Success |
References _PFC_Control::evt_cnt, and _PFC_Control::prescale.
Referenced by PFC_construct().
static unsigned int PFC_select | ( | void * | prm, | |
unsigned int | mode, | |||
EDS_cfgInfo * | info | |||
) | [static] |
Select mode routine.
1 | Failure | |
0 | Success |
References _PFC_Control::hid, and _PFC_Control::key.
Referenced by PFC_construct().
static unsigned int PFC_sizeOf | ( | const void * | schema, | |
void * | prm | |||
) | [static] |