GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> GRBP / dev > grbpsiu / rhel5-32
#include <GRBP_gbmMsg.h>
#include <GRBP_skew.h>
#include <GRB/GRB_latMsg.h>
#include <GRB/GRB_gbmMsg.h>
Classes | |
struct | _GRBP_gbmRepoint |
The GBM context. More... | |
Typedefs | |
typedef struct _GRBP_DB_gbmRepoint | GRBP_DB_gbmRepoint |
typedef struct _GRBP_gbmRepoint | GRBP_gbmRepoint |
Typedef for struct _GRBP_gbmRepoint. | |
Functions | |
void | GRBP_gbmRepointConstruct (GRBP_gbmRepoint *gbm, const GRBP_DB_gbmRepoint *cfg) |
Constructs the client GBM repoint context. | |
void | GRBP_gbmRepointReady (GRBP_gbmRepoint *gbm) |
Puts the state of the GBM repoint context into ready to go. | |
static __inline double | GRBP_gbmRepointMsgTime (const GRB_gbmRptMsg *msg) |
Returns the time, in seconds, of the GBM repoint message.
| |
static __inline void | GRBP__gbmRepointCancel (GRBP_gbmRepoint *gbm) |
Resets the client GBM context, canceling any pending repoints. | |
static __inline void | GRBP__gbmRepointCheck (GRBP_gbmRepoint *gbm, double time, GRB_latConfirmRtn send) |
Sends a repoint request if one is pending and has come due. | |
static __inline void | GRBP__gbmRepointCancelClear (GRBP_gbmRepoint *gbm) |
Sets the state of the do cancel the GBM window at GBM message closeout time flag to false. | |
static __inline int | GRBP__gbmRepointCancelGet (GRBP_gbmRepoint *gbm) |
Gets the state of the do not cancel the GBM window at GBM message. | |
static __inline void | GRBP__gbmRepointCancelSet (GRBP_gbmRepoint *gbm) |
Sets the state of the do not cancel the GBM window at GBM message closeout time flag to true. This is the default state. | |
static __inline void | GRBP__gbmRepointPendingClear (GRBP_gbmRepoint *gbm) |
Sets the state of the GBM repoint message pending flag to false. | |
static __inline void | GRBP__gbmRepointSave (GRBP_gbmRepoint *gbm, const GRB_gbmRptMsg *msg) |
If no GBM repoint request is current pending, this relevant pieces of information from the GBM's repoint request are saved and the request is 'queued'. | |
static __inline int | GRBP__gbmRepointSend (GRBP_gbmRepoint *gbm, GRB_latConfirmRtn send) |
Sends a repoint request if one is pending and has come due. |
CVS $Id: GRBP_gbmRepoint.h,v 1.8 2011/09/28 16:48:41 russell Exp $
static __inline void GRBP__gbmRepointCancel | ( | GRBP_gbmRepoint * | gbm | ) | [static] |
Resets the client GBM context, canceling any pending repoints.
gbm | The GBM repoint context |
References _GRBP_gbmRepoint::pending.
static __inline void GRBP__gbmRepointCancelClear | ( | GRBP_gbmRepoint * | gbm | ) | [static] |
Sets the state of the do cancel the GBM window at GBM message closeout time flag to false.
gbm | The GBM repoint context |
References _GRBP_gbmRepoint::cancel.
Referenced by gbmRepointHandler().
static __inline int GRBP__gbmRepointCancelGet | ( | GRBP_gbmRepoint * | gbm | ) | [static] |
Gets the state of the do not cancel the GBM window at GBM message.
gbm | The GBM repoint context |
References _GRBP_gbmRepoint::cancel.
Referenced by gbmCloseoutHandler().
static __inline void GRBP__gbmRepointCancelSet | ( | GRBP_gbmRepoint * | gbm | ) | [static] |
Sets the state of the do not cancel the GBM window at GBM message closeout time flag to true. This is the default state.
gbm | The GBM repoint context |
References _GRBP_gbmRepoint::cancel.
Referenced by gbmCloseoutHandler().
static __inline void GRBP__gbmRepointCheck | ( | GRBP_gbmRepoint * | gbm, | |
double | time, | |||
GRB_latConfirmRtn | send | |||
) | [static] |
Sends a repoint request if one is pending and has come due.
gbm | The GBM repoint context | |
time | The current time | |
send | The repoint send function |
References _GRBP_gbmRepoint::dec, _GRBP_gbmRepoint::duration, _GRBP_gbmRepoint::issueTime, _GRBP_gbmRepoint::pending, and _GRBP_gbmRepoint::ra.
Referenced by GRBP_clientProcess().
static __inline void GRBP__gbmRepointPendingClear | ( | GRBP_gbmRepoint * | gbm | ) | [static] |
Sets the state of the GBM repoint message pending flag to false.
gbm | The GBM repoint context |
References _GRBP_gbmRepoint::pending.
static __inline void GRBP__gbmRepointSave | ( | GRBP_gbmRepoint * | gbm, | |
const GRB_gbmRptMsg * | msg | |||
) | [static] |
If no GBM repoint request is current pending, this relevant pieces of information from the GBM's repoint request are saved and the request is 'queued'.
gbm | The GBM repoint context | |
msg | The GBM repoint message |
References _GRBP_skew::dec, _GRBP_gbmRepoint::dec, GRBP__skewDecArcmins(), GRBP__skewRaArcmins(), GRBP_gbmRepointMsgTime(), _GRBP_gbmRepoint::issueTime, _GRBP_gbmRepoint::latency, _GRBP_gbmRepoint::pending, _GRBP_skew::ra, _GRBP_gbmRepoint::ra, and _GRBP_gbmRepoint::skew.
Referenced by gbmRepointHandler().
static __inline int GRBP__gbmRepointSend | ( | GRBP_gbmRepoint * | gbm, | |
GRB_latConfirmRtn | send | |||
) | [static] |
Sends a repoint request if one is pending and has come due.
==0,if | no GBM repoint was sent | |
==1,if | a GBM repoint was sent |
gbm | The GBM repoint context | |
send | The repoint send function |
References _GRBP_gbmRepoint::dec, _GRBP_gbmRepoint::duration, _GRBP_gbmRepoint::pending, and _GRBP_gbmRepoint::ra.
Referenced by gbmRepointHandler(), and stop().
void GRBP_gbmRepointConstruct | ( | GRBP_gbmRepoint * | gbm, | |
const GRBP_DB_gbmRepoint * | cfg | |||
) |
Constructs the client GBM repoint context.
gbm | The GBM repoint context | |
cfg | The GBM repoint configuration |
References _GRBP_skew::dec, _GRBP_gbmRepoint::duration, GRBP_gbmRepointReady(), _GRBP_gbmRepoint::latency, _GRBP_skew::ra, and _GRBP_gbmRepoint::skew.
Referenced by GRBP_clientConstruct().
static __inline double GRBP_gbmRepointMsgTime | ( | const GRB_gbmRptMsg * | msg | ) | [static] |
Returns the time, in seconds, of the GBM repoint message.
msg | The repoint message |
References GRBP__gbmMsgToTimeDouble().
Referenced by GRBP__gbmRepointSave().
void GRBP_gbmRepointReady | ( | GRBP_gbmRepoint * | gbm | ) |
Puts the state of the GBM repoint context into ready to go.
gbm | The GBM repoint context |
References _GRBP_gbmRepoint::cancel, and _GRBP_gbmRepoint::pending.
Referenced by GRBP_gbmRepointConstruct(), and start().