GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EDS / dev
Constituent: ebfio     Tag: mcp750
#include "EDS/LCBV.h"
#include "EDS/io/LCBP.h"
#include "EDS/io/EBF_pkts.h"
#include "EDS/EBF_pkt.h"
#include "EDS/EBF_evt.h"
#include "EDS/EBF_edw.h"
#include "EDS/EBF_gem.h"
#include "EDS/EBF_gemLocate.h"
#include "PBS/FORK.h"
#include "PBS/TASK.h"
#include "PBS/MBA.h"
#include "PBI/Alias.h"
Include dependency graph for LCBP.c:

Data Structures | |
| struct | _EDM |
| EDM control/context handle for the Event Delivery Model. More... | |
| struct | _LCBP_fork |
| Event fork task. More... | |
| struct | _LCBP_pktCbp |
| Binds an event call back routine with its parameter. More... | |
| struct | _LCBP |
| Layout of the control block for the virtual LCB. More... | |
Typedefs | |
| typedef _EDM | EDM |
| Typedef for struct _EDM. | |
| typedef _LCBP_fork | LCBP_fork |
| Typedef for struct _LCBP_fork. | |
| typedef _LCBP_pktCbp | LCBP_pktCbp |
| Typedef for struct _LCBP_pktCbp. | |
| typedef _LCBP * | LCBP |
| Typedef for a pointer to the struct _LCBP. | |
Functions | |
| ALIAS_FNC (unsigned int, LCBP_evt_cb_set, LCBP_pktCbSet) | |
| ALIAS_END (LCBP) | |
| int | EDM_construct (EDM *edm) |
| Constructor for an EDM handle. | |
| int | EDM_wait (EDM *edm, unsigned int edw, EBF_pkt *pkt) |
| Standard event handler for EDM. | |
| static unsigned int | defaultCb (void *prm, unsigned int edw, EBF_pkt *pkt) |
| Default callback routine. | |
| static int | evtHandler (LCBP lcb, EBF_pkt *pkt) |
| FORK callback dispatch routine. | |
| static unsigned int | normal_delivery (LCBP lcb) |
| Normal packet delivery. | |
| static unsigned int | timed_delivery (LCBP lcb) |
| Normal packet delivery. | |
| LCBP | LCBP_get () |
| Returns a pointer to the virtual LCB control block. | |
| unsigned int | LCBP_create (LCBP lcb) |
| Initializes the LCB virtual device control block. | |
| unsigned int | LCBP_edm_configure (LCBP lcb, unsigned int style, void *prm) |
| Sets the event deliver style. | |
| unsigned int | LCBP_edm_reset (LCBP lcb) |
| Resets the LCB handle, preparing it for a new set of data. This is generally called when switching to a new event stream. | |
| unsigned int | LCBP_pktsDeliver (LCBP lcb) |
| Feeds one packet at a time to the user provided callback routine. | |
| unsigned int | LCBP_pktsConnect (LCBP lcb, EBF_pkts pkts) |
| Connect a stream of packets to the virtual LCB. | |
| EBF_pkts | LCBP_pktsQuery (LCBP lcb) |
| Returns the current EBF_pkts. | |
| unsigned int | LCBP_evt_cb_set (LCBP lcb, unsigned int proto, LCBV_pktCb rtn, void *prm) |
| Establishes a callback handler for the specified protocal. | |
| unsigned int | LCBP_evt_enable (LCBP lcb, int enable) |
| Enables/Disables the flow of events. | |
| unsigned int | LCBP_evt_handler_create (LCBP lcb, int priority) |
| Creates the event que handler service task. | |
| unsigned int | LCBP_evt_que_install (LCBP lcb, FORK_que *que) |
| Installs queue from fcb as the task message queue for event traffic. | |
| FORK_que * | LCBP_evt_que_get (LCBP lcb, int que_id) |
| Installs queue from fcb as the task message queue for event traffic. | |
| unsigned int | LCBP_pktsRngFree (LCBP lcb, EBF_pkt *from, EBF_pkt *to) |
| Dummy implementation of the corresponds LCBD routine. | |
Variables | |
| static struct _LCBP | Lcbp = { 0 } |
| Static instance of the packet LCB control block. | |
CVS $Id: LCBP.c,v 1.3 2007/02/14 01:01:53 russell Exp $
|
||||||||||||||||
|
Default callback routine.
|
|
|
Constructor for an EDM handle.
|
|
||||||||||||||||
|
Standard event handler for EDM.
|
|
||||||||||||
|
FORK callback dispatch routine.
|
|
|
Initializes the LCB virtual device control block.
|
|
||||||||||||||||
|
Sets the event deliver style.
|
|
|
Resets the LCB handle, preparing it for a new set of data. This is generally called when switching to a new event stream.
|
|
||||||||||||||||||||
|
Establishes a callback handler for the specified protocal.
|
|
||||||||||||
|
Enables/Disables the flow of events.
|
|
||||||||||||
|
Creates the event que handler service task.
|
|
||||||||||||
|
Installs queue from fcb as the task message queue for event traffic.
|
|
||||||||||||
|
Installs queue from fcb as the task message queue for event traffic.
|
|
|
Returns a pointer to the virtual LCB control block.
|
|
||||||||||||
|
Connect a stream of packets to the virtual LCB.
|
|
|
Feeds one packet at a time to the user provided callback routine.
|
|
|
Returns the current EBF_pkts.
|
|
||||||||||||||||
|
Dummy implementation of the corresponds LCBD routine.
|
|
|
Normal packet delivery.
|
|
|
Normal packet delivery.
|
1.4.4