GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GRBP / V0-4-2
Constituent: grbpsiu     Tag: linux-gcc
#include "GRBP/GRBP_client.h"
#include "GRBP_msgdef.h"
#include "GRBP_cache.h"
#include "GRBP_probability.h"
#include "GRBP_window.h"
#include "GRBP_message.h"
#include "GRBP_grb.h"
#include "GRBP_windowList.h"
#include "GRBP_windowState.h"
#include "GRBP_gbmMsg.h"
#include "GRBP_gbmRepoint.h"
#include "round.h"
#include "tmr.h"
#include "GRBP_DB/GRBP_DB_clientSchema.h"
#include "GRB/GRB_siu.h"
#include "GRB/GRB_gbmMsg.h"
#include "ATT/ATT.h"
#include "MSG/MSG_macdefs.h"
#include <string.h>
#include <stdio.h>
Include dependency graph for GRBP_client.c:
Data Structures | |
struct | _GRBP_clientStats |
Statistics gathered. More... | |
struct | _GRBP_client |
The client for the SIU side of the GRB algorithm. More... | |
Typedefs | |
typedef enum _GRBP_clientState | GRBP_clientState |
Typedef for enum _GRBP_clientState. | |
typedef _GRBP_clientStats | GRBP_clientStats |
Typedef for struct _GRBP_clientStats. | |
typedef _GRBP_client | GRBP_client |
Typedef for struct _GRBP_client. | |
Enumerations | |
enum | _GRBP_clientState { GRBP_CLIENTSTATE_K_INACTIVE = -1, GRBP_CLIENTSTATE_K_GRB_LAT = 0, GRBP_CLIENTSTATE_K_GRB_GBM = 1 } |
Captures the processing state. This is one of
| |
Functions | |
void | GRBP_clientConstruct (GRBP_client *client, const GRBP_DB_clientSchema *cfg) |
Constructs a GRBP client-side (SIU) context using the parameters specified in the configuration, cfg. It is assumed that the user has called GRBP_clientSizeof using the same configuration structure to determine the number of bytes needed to support the specified configuration and that the user has allocated those bytes in the memory pointed to by client. | |
void | GRBP_clientProcess (GRBP_client *client, unsigned long long int id, unsigned long long int time, unsigned int energy, int dx, int dy, int dz) |
Driver function used to detect a GRB. | |
void | GRBP_clientMsgProcess (GRBP_client *client, const GRBP_msg *msg) |
Driver function used to detect a GRB. | |
static __inline void | reset (GRBP_client *client) |
Resets the client context. This routine is generally called after a GRB closeout has been issued, thus preparing it for a new round of detection. | |
static void | start (GRBP_client *client) |
Called when GRB processing is started. | |
static void | stop (GRBP_client *client) |
Called when GRB processing is stopped. | |
static __inline unsigned int | xform (ATT_Control *att, unsigned long long int time, int dx, int dy, int dz, double q[4], double dsky[3]) |
Does the LAT relative to absolute coordinate transformation. | |
static __inline void | grbDeclare (GRBP_client *client, GRBP_window *window, double current_time) |
Checks, if a GRB suspected message should be declared and if, so, delivers one. | |
static __inline int | confirmCheck (GRBP_client *client) |
Checks, if a GRB confirmation message should be declared and if, so, delivers one. | |
static __inline int | updateCheck (GRBP_client *client, int added, double current_time) |
Checks if an update or closeout message needs to be issued. If so, one is issued. | |
static __inline void | statsReset (GRBP_clientStats *stats) |
Resets the client statistics block. This routine is generally cleared after a GRB closeout has been issued. | |
static void | gbmRepointHandler (GRBP_client *client, GRB_gbmRptMsg *msg) |
Function to handle an incoming GBM repoint message. | |
static void | gbmInterruptHandler (GRBP_client *client) |
Function to handle an incoming GBM interrupt signal. | |
static void | gbmCalculateHandler (GRBP_client *client, GRB_gbmCalcMsg *msg) |
Function to handle an incoming GBM interrupt signal. | |
static void | gbmCloseoutHandler (GRBP_client *client, GRB_gbmCloseMsg *msg) |
Function to handle an incoming GBM closeout message. | |
int | GRBP_clientSizeof (const GRBP_DB_clientSchema *cfg) |
Computes the number of bytes needed to support the specified configuration, cfg. | |
const GRB_siuServices * | GRBP_clientServicesGet (GRBP_client *client, GRBP_DB_clientSchema *schema, const GRB_latMsgServices *msgServices) |
Constructs the client context and returns the services table. |
CVS $Id: GRBP_client.c,v 1.6 2007/10/26 02:00:31 russell Exp $
|
Captures the processing state. This is one of
|
|
Checks, if a GRB confirmation message should be declared and if, so, delivers one.
|
|
Function to handle an incoming GBM interrupt signal.
|
|
Function to handle an incoming GBM closeout message.
|
|
Function to handle an incoming GBM interrupt signal.
|
|
Function to handle an incoming GBM repoint message.
|
|
Checks, if a GRB suspected message should be declared and if, so, delivers one.
|
|
Constructs a GRBP client-side (SIU) context using the parameters specified in the configuration, cfg. It is assumed that the user has called GRBP_clientSizeof using the same configuration structure to determine the number of bytes needed to support the specified configuration and that the user has allocated those bytes in the memory pointed to by client.
|
|
Driver function used to detect a GRB.
|
|
Driver function used to detect a GRB.
|
|
Constructs the client context and returns the services table.
|
|
Computes the number of bytes needed to support the specified configuration, cfg.
|
|
Resets the client context. This routine is generally called after a GRB closeout has been issued, thus preparing it for a new round of detection.
|
|
Called when GRB processing is started.
|
|
Resets the client statistics block. This routine is generally cleared after a GRB closeout has been issued.
|
|
Called when GRB processing is stopped.
|
|
Checks if an update or closeout message needs to be issued. If so, one is issued.
|
|
Does the LAT relative to absolute coordinate transformation.
|