GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GRBP / V0-4-2

Constituent: grbpsiu     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

GRBP_messageSchedule.h File Reference

Interface controlling the scheduleing and updating of the GRBP schedules. More...

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


Data Structures

struct  _GRBP_messageScheduleSuspectPrms
 Parameters controlling the dispatching of the initial GRB suspected message. More...
struct  _GRBP_messageScheduleConfirmPrms
 Parameters controlling the dispatching of the GRB confirmation message. More...
struct  _GRBP_messageScheduleUpdatePrms
 The parameters controlling the delivery of one update schedules. More...
struct  _GRBP_messageScheduleUpdateListPrms
 The parameters controlling the delivery of update schedules. More...
struct  _GRBP_messageScheduleCloseoutPrms
 Parameters controlling the dispatching of the closeout schedule schedule. More...
struct  _GRBP_messageSchedulePrms
 The parameters controlling the initial GRBP schedule schedule and the subsequent update and closeout schedules. More...
struct  _GRBP_messageSchedule
 The context controlling controlling the initial GRBP schedule schedule and the subsequent update and closeout schedules. More...

Typedefs

typedef _GRBP_DB_messageSchedule GRBP_DB_messageSchedule
typedef _GRBP_messageScheduleSuspectPrms GRBP_messageScheduleSuspectPrms
 Typedef for struct _GRBP_scheduleSuspectPrms.
typedef _GRBP_messageScheduleConfirmPrms GRBP_messageScheduleConfirmPrms
 Typedef for struct _GRBP_scheduleConfirmPrms.
typedef _GRBP_messageScheduleUpdatePrms GRBP_messageScheduleUpdatePrms
 Typedef for struct _GRBP_messageScheduleUpdateMemberPrms.
typedef _GRBP_messageScheduleUpdateListPrms GRBP_messageScheduleUpdateListPrms
 Typedef for struct _GRBP_messageScheduleUpdateListPrms.
typedef _GRBP_messageScheduleCloseoutPrms GRBP_messageScheduleCloseoutPrms
 Typedef for struct _GRBP_messageScheduleCloseoutPrms.
typedef _GRBP_messageSchedulePrms GRBP_messageSchedulePrms
 Typedef for struct _GRBP_messageSchedulePrms.
typedef _GRBP_messageSchedule GRBP_messageSchedule

Functions

int GRBP_messageScheduleSizeof (void)
void GRBP_messageScheduleConstruct (GRBP_messageSchedule *ctx, const GRBP_DB_messageSchedule *cfg)
void GRBP_messageScheduleReset (GRBP_messageSchedule *ctx)
 Resets the schedule.
int GRBP_messageScheduleInitiate (GRBP_messageSchedule *ctx, int added, double start_time)
 Initiates the message schedule.
int GRBP_messageScheduleConfirmCheck (GRBP_messageSchedule *ctx)
 Updates the delivery schedule and whether the threshold for declaring a GRB confirmation message has been exceeded.
int GRBP_messageScheduleUpdateCheck (GRBP_messageSchedule *ctx, int added, double current_time)
 Checks whether to an GRB update or closeout schedule is due.
static __inline int GRBP__messageScheduleActive (int state)
 Returns non-zero if a message, either an UPDATE or a CLOSEOUT needes to be issued.
static __inline int GRBP__messageScheduleUpdate (int state)
 Returns non-zero if an UPDATE message needs to be issued.
static __inline int GRBP__messageScheduleCloseout (int state)

Detailed Description

Interface controlling the scheduleing and updating of the GRBP schedules.

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

Function Documentation

static __inline int GRBP__messageScheduleActive int  state  )  [static]
 

Returns non-zero if a message, either an UPDATE or a CLOSEOUT needes to be issued.

Returns:
Non-zero if a message needs to be issued
Parameters:
state The return state information from GRBP__messageScheduleUpdate

static __inline int GRBP__messageScheduleUpdate int  state  )  [static]
 

Returns non-zero if an UPDATE message needs to be issued.

Returns:
Non-zero if an UPDATE message needs to be issued
Parameters:
state The return state information from GRBP__messageScheduleUpdate

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);


Generated on Mon Oct 29 03:04:29 2007 by  doxygen 1.4.4