GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GRBS / V0-1-0

Constituent: grbs_siu     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

GRBS_pubdefs.h File Reference

Gamma Ray Burst Analysis Code Defines the public interface to and data structures containing the parameters used in simulating gamma ray burst messages. More...

#include "PBS/FORK.h"

Include dependency graph for GRBS_pubdefs.h:

This graph shows which files directly or indirectly include this file:


Typedefs

typedef enum _GRBSim_Modes GRBSim_Modes
 Typedef for enum _GRBSim_Modes.

Enumerations

enum  _GRBSim_Modes {
  GRBSIM_MODE_DISABLE = 0,
  GRBSIM_MODE_FULL = 1,
  GRBSIM_MODE_SUSPECT = 2,
  GRBSIM_MODE_DEBUG = 3,
  GRBSIM_MODE4 = 4,
  GRBSIM_MODE5 = 5
}
 LPA GRB Algorithm Simulation Modes. More...

Functions

int GRBS_simConfig (void *siu_ctl, unsigned int mode, unsigned int repoint, unsigned int interval)
 Configure for a simulated GRBS detection.
int GRBS_simDetect (void *siu_ctl, FORK_que *que)
 Simulate a GRBS detection.
int GRBS_simReset (void *siu_ctl)
 Reset the GRBS simulation.

Detailed Description

Gamma Ray Burst Analysis Code Defines the public interface to and data structures containing the parameters used in simulating gamma ray burst messages.

Author:
Sergio Maldonado - smaldona@slac.stanford.edu
    CVS $Id: GRBS_pubdefs.h,v 1.3 2007/07/07 03:10:57 smaldona Exp $

Enumeration Type Documentation

enum _GRBSim_Modes
 

LPA GRB Algorithm Simulation Modes.

Enumerator:
GRBSIM_MODE_DISABLE  GRB detection simulation disabled
GRBSIM_MODE_FULL  GRB detection simulation mode full
GRBSIM_MODE_SUSPECT  GRB detection mode suspect only
GRBSIM_MODE_DEBUG  GRB detection debug mode
GRBSIM_MODE4  GRB detection mode 4 unused
GRBSIM_MODE5  GRB detection mode 5 unused


Function Documentation

int GRBS_simConfig void *  siu_ctl,
unsigned int  mode,
unsigned int  repoint,
unsigned int  interval
 

Configure for a simulated GRBS detection.

Return values:
0,Success 
-1,Failure 
Parameters:
siu_ctl The GRBS algorithm control block
mode The GRBS simulation mode
repoint The GRBS repoint time
interval The interval in seconds between state transitions

int GRBS_simDetect void *  siu_ctl,
FORK_que *  que
 

Simulate a GRBS detection.

Return values:
0,Success 
-1,Failure 
Parameters:
siu_ctl The GRBS algorithm control block
que Task fork queue

int GRBS_simReset void *  siu_ctl  ) 
 

Reset the GRBS simulation.

Return values:
0,Success 
-1,Failure 
Parameters:
siu_ctl The GRBS algorithm control block


Generated on Sat Jul 7 02:07:18 2007 by  doxygen 1.4.4