GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GRBP / V1-0-0

Constituent: grbpsiu     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

GRBP_messageSchedule.c File Reference

Implementation of the routines controlling the scheduling and updating of the GRBP alert message. More...

#include "GRBP_messageSchedule.h"
#include "GRBP_DB/GRBP_DB_messageSchedule.h"

Include dependency graph for GRBP_messageSchedule.c:


Defines

#define NULL   ((void *)0)

Functions

static __inline void schedulePrmsPrepare (GRBP_messageSchedulePrms *prms, const GRBP_DB_messageSchedule *cfg)
static __inline void scheduleSuspectPrmsPrepare (GRBP_messageScheduleSuspectPrms *prms, const GRBP_DB_messageScheduleSuspect *cfg)
 Prepares the parameters used in dispatching a GRB suspect message.
static __inline void scheduleConfirmPrmsPrepare (GRBP_messageScheduleConfirmPrms *prms, const GRBP_DB_messageScheduleConfirm *cfg)
 Prepares the parameters used in dispatching a GRB confirmation message.
static __inline void scheduleUpdateListPrmsPrepare (GRBP_messageScheduleUpdateListPrms *prms, const GRBP_DB_messageScheduleUpdateList *cfg)
 Prepares the parameters used in dispatching a list/series of GRB update messages.
static __inline void scheduleCloseoutPrmsPrepare (GRBP_messageScheduleCloseoutPrms *prms, const GRBP_DB_messageScheduleCloseout *cfg)
 Prepares the parameters used in dispatching a GRB closeout schedule.
int GRBP_messageScheduleSizeof (void)
void GRBP_messageScheduleConstruct (GRBP_messageSchedule *schedule, const GRBP_DB_messageSchedule *cfg)
int GRBP_messageScheduleInitiate (GRBP_messageSchedule *schedule, int start_count, double start_time)
 Initiates the message schedule.
int GRBP_messageScheduleConfirmCheck (GRBP_messageSchedule *schedule)
 Updates the delivery schedule and whether the threshold for declaring a GRB confirmation message has been exceeded.
int GRBP_messageScheduleUpdateCheck (GRBP_messageSchedule *schedule, int added, double current_time)
 Checks whether to an GRB update or closeout schedule is due.
void GRBP_messageScheduleReset (GRBP_messageSchedule *schedule)
 Resets the schedule.

Detailed Description

Implementation of the routines controlling the scheduling and updating of the GRBP alert message.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: GRBP_messageSchedule.c,v 1.2 2007/08/02 17:25:00 russell Exp $

Function Documentation

int GRBP_messageScheduleConfirmCheck GRBP_messageSchedule schedule  ) 
 

Updates the delivery schedule and whether the threshold for declaring a GRB confirmation message has been exceeded.

printf ("GRBP_messageSchedule:confirm\n");

int GRBP_messageScheduleInitiate GRBP_messageSchedule schedule,
int  start_count,
double  start_time
 

Initiates the message schedule.

printf ("GRBP_messageSchedule:suspect\n");

void GRBP_messageScheduleReset GRBP_messageSchedule schedule  ) 
 

Resets the schedule.

Parameters:
schedule The schedule to reset

int GRBP_messageScheduleUpdateCheck GRBP_messageSchedule schedule,
int  added,
double  current_time
 

Checks whether to an GRB update or closeout schedule is due.

printf ("Update Index: %d\n", updidx);

printf ("GRBP_messageSchedule:closeout\n");

printf ("GRBP_messageScheduleUpdateCheck:updidx = %u\n", updidx);

static __inline void scheduleCloseoutPrmsPrepare GRBP_messageScheduleCloseoutPrms prms,
const GRBP_DB_messageScheduleCloseout *  cfg
[static]
 

Prepares the parameters used in dispatching a GRB closeout schedule.

Parameters:
prms The closeout schedule parameter block to fill
cfg The closeout schedule parameter configuration block

static __inline void scheduleConfirmPrmsPrepare GRBP_messageScheduleConfirmPrms prms,
const GRBP_DB_messageScheduleConfirm *  cfg
[static]
 

Prepares the parameters used in dispatching a GRB confirmation message.

Parameters:
prms The confirmation scheduling parameter block to fill
cfg The confirmation scheduling parameter configuration block

static __inline void scheduleSuspectPrmsPrepare GRBP_messageScheduleSuspectPrms prms,
const GRBP_DB_messageScheduleSuspect *  cfg
[static]
 

Prepares the parameters used in dispatching a GRB suspect message.

Parameters:
prms The suspect parameter block to fill
cfg The suspect parameter configuration block

static __inline void scheduleUpdateListPrmsPrepare GRBP_messageScheduleUpdateListPrms prms,
const GRBP_DB_messageScheduleUpdateList *  cfg
[static]
 

Prepares the parameters used in dispatching a list/series of GRB update messages.

Parameters:
prms The update parameter block to fill
cfg The update parameter configuration block


Generated on Fri Dec 14 08:32:12 2007 by  doxygen 1.4.4