GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LPA / V6-1-8
Constituent: lpa_epu     Tag: linux-gcc
#include "LPA_prvdefs.h"
#include "LPA_utils.h"
#include "LPA_grb_post_p.h"
#include "LPA_DB/LPA_DB_schema.h"
#include "LPA/LPA_msgs.h"
#include "LPA_output_p.h"
#include "PBS/FPA.h"
#include "PBS/FORK.h"
#include "LCBD/LCB.h"
#include "LCBD/LCBD.h"
#include "LCBD/LCBD_cr.h"
#include "LCBD/LCBD_evt.h"
#include "EDS/EDS_fw.h"
#include "EDS/EDS_fwServices.h"
#include "EDS/TMR.h"
#include "EDS/LCBV.h"
#include "EDS/FFS.h"
#include "EDS/io/LCBP.h"
#include "EDS_DB/EDS_DB_schema.h"
#include "EDS/EBF_match.h"
#include "EDS/EBF_pkt.h"
#include "EDS/EBF_ebw.h"
#include "LSE/LSEW_dgmFw.h"
#include "LSE/LFR_key.h"
#include "LSEP/LSEPW.h"
#include "LSF/LSF_ids.h"
#include "LSF/LSF_cpu.h"
#include "CDM/CDM_pubdefs.h"
#include "CMX/CMX_lookupPub.h"
#include "MSG/MSG_pubdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "LCS/LCS_pubdefs.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Include dependency graph for LPA.c:
Data Structures | |
struct | _LPA_handler |
Contains the parameters specifying how to install an event handler. More... | |
struct | _LPA_poster |
Contains the parameters specifying how to output events. More... | |
struct | _LPA_installation |
The installation specification. More... | |
struct | _LPA |
The LPA control structure. More... | |
Typedefs | |
typedef _LPA_handler | LPA_handler |
Typedef for struct _LPA_hander. | |
typedef _LPA_poster | LPA_poster |
Typedef for struct _LPA_poster. | |
typedef _LPA_installation | LPA_installation |
Typedef for struct _LPA_installation. | |
typedef _LPA | LPA |
Typedef for struct _LPA. | |
Functions | |
static unsigned int | LPA_configOutput (LPA *lpa, LPA_DB_Schema *schema) |
Configures the output routine. | |
static unsigned int | LPA_configHandlers (LPA *lpa, LPA_DB_Schema *schema, unsigned int instance) |
Configures the event handlers. | |
static unsigned int | LPA_install (LPA *lpa, unsigned int list, unsigned int instance) |
Install configured handlers into the EDS framework. | |
static unsigned int | LPA_translate (LPA *lpa, unsigned int handlers) |
Translates an LPA handler mask to an EDS handler mask. | |
static __inline int | LPA_isFirstPkt (const EBF_pkt *pkt) |
Determine if packet is the first of an event. | |
static __inline int | LPA_isLastPkt (unsigned int edw) |
Determine if packet is the last of an event. | |
int | LPA_startMarkerProcess (void *prm, unsigned int edw, LCBD_evt *lcb_pkt) |
The start marker event handler callback This routine intercepts marker events and notifies LPA. | |
int | LPA_stopMarkerProcess (void *prm, unsigned int edw, LCBD_evt *lcb_pkt) |
The stop marker event handler callback This routine intercepts marker events and notifies LPA. | |
LPA * | LPA_construct (LPA_RespCb cb) |
Preinitializes an LPA control block. | |
void | LPA_destruct (void *lpa) |
Destroys an LPA control block. | |
int | LPA_connect_start_marker (LPA *lpa) |
Connects the LCB's event callback handler to the LPA start marker event handler. | |
int | LPA_connect_stop_marker (LPA *lpa) |
Connects the LCB's event callback handler to the LPA marker event handler. | |
int | LPA_connect_eds (LPA *lpa) |
Connects the LCB's event callback handler to the Event Delivery Service's handler. | |
int | LPA_disconnect (LPA *lpa) |
Disconnects the LCB's event callback handler from the active event handler callback and restores the original handler. | |
unsigned int | LPA_configure (LPA *lpa, const LPA_DB_Schema *schema, unsigned int instance, unsigned int sbc_key) |
Configures datagram, output, and handlers for LPA. | |
unsigned int | LPA_startRun (LPA *lpa, unsigned int run_id, unsigned int mode, unsigned int time, unsigned int reason, unsigned int latc_key, unsigned int lpa_key, unsigned int handlers) |
Start the physics acquisition run. | |
unsigned int | LPA_change_handlers (LPA *lpa, unsigned int newState, unsigned int handlers) |
Requests enabling/disabling of the specified list of handlers. | |
unsigned int | LPA_change_eds_out (LPA *lpa, unsigned int newState, unsigned int streams) |
Requests state change for the specified output streams. | |
unsigned int | LPA_change_post_out (LPA *lpa, unsigned int newState) |
Requests state change for the specified output streams. | |
unsigned int | LPA_change_grb (LPA *lpa, unsigned int id) |
Change the active GRB processor. | |
unsigned int | LPA_get_post_count (LPA *lpa, unsigned int out_type) |
Get the output post count. | |
unsigned int | LPA_change_compress (LPA *lpa, unsigned int level, unsigned int *set_level) |
Requests a change for the specified compression level. | |
unsigned int | LPA_select (LPA *lpa, unsigned int mode) |
Changes mode for the specified list of handlers. | |
unsigned int | LPA_modeAssociate (LPA *lpa, unsigned int handlers, unsigned int mode, unsigned int cfg_id) |
Associate a mode with a set of handlers. | |
unsigned int | LPA_flush (LPA *lpa, unsigned int handlers, unsigned int reason) |
Requests the specified list of handlers to flush their output. |
CVS $Id: LPA.c,v 1.22 2007/10/12 18:41:58 smaldona Exp $
|
Requests a change for the specified compression level.
|
|
Requests state change for the specified output streams.
|
|
Change the active GRB processor.
|
|
Requests enabling/disabling of the specified list of handlers.
|
|
Requests state change for the specified output streams.
|
|
Configures the event handlers.
|
|
Configures the output routine.
|
|
Configures datagram, output, and handlers for LPA.
|
|
Connects the LCB's event callback handler to the Event Delivery Service's handler.
|
|
Connects the LCB's event callback handler to the LPA start marker event handler.
|
|
Connects the LCB's event callback handler to the LPA marker event handler.
|
|
Preinitializes an LPA control block.
|
|
Destroys an LPA control block.
|
|
Disconnects the LCB's event callback handler from the active event handler callback and restores the original handler.
|
|
Requests the specified list of handlers to flush their output.
|
|
Get the output post count.
|
|
Install configured handlers into the EDS framework.
|
|
Determine if packet is the first of an event.
|
|
Determine if packet is the last of an event.
|
|
Associate a mode with a set of handlers.
|
|
Changes mode for the specified list of handlers.
|
|
The start marker event handler callback This routine intercepts marker events and notifies LPA.
|
|
Start the physics acquisition run.
|
|
The stop marker event handler callback This routine intercepts marker events and notifies LPA.
|
|
Translates an LPA handler mask to an EDS handler mask.
|