GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIM / V1-22-0 > lim / linux-gcc
#include "ITC/ITC_pubdefs.h"
#include "LIM/LIM_pubdefs.h"
#include "LIM_DB/LIM_DB_schema.h"
#include "PIG/pig.h"
#include "LIM_action.h"
#include "LIM_pkt_send.h"
#include "LIM_task.h"
Typedefs | |
typedef struct _LIM_Mode | LIM_Mode |
Typedef for opaque LIM mode object handle. | |
Functions | |
unsigned int | LIM_mode_new (LIM_Mode **object_pp, LIM_Task *task_p, LIM_Pkt_Send *cal_start_p, LIM_Pkt_Send *cal_abort_p, LIM_Pkt_Send *diag_start_p, LIM_Pkt_Send *diag_abort_p, LIM_Pkt_Send *gbm_calcinfo_p, LIM_Pkt_Send *gbm_closeout_p, LIM_Pkt_Send *gbm_repoint_p, LIM_Pkt_Send *ltc_stop_p, LIM_Pkt_Send *physics_start_p, LIM_Pkt_Send *physics_stop_p, LIM_Pkt_Send *slew_req_cmd_p, LIM_Pkt_Send *slew_req_tlm_p, LIM_Pkt_Send *slew_rsp_tlm_p, LIM_Pkt_Send *shed_alert_tlm_p, LIM_Action *action_p, LIM_Pool *pool_p, const LIM_DB_Schema *db_p) |
Create and initialize a new mode object. | |
unsigned int | LIM_mode_delete (LIM_Mode *object_p) |
Shutdown and delete a mode object. | |
unsigned int | LIM_mode_get_info (LIM_Mode *object_p, LIM_Info *info_p) |
Return mode information. | |
unsigned int | LIM_mode_handle_bulk (void *prm, const ITC_QueueItem *qitem_p, void *pay_p, unsigned int len) |
Handle messages arriving on the BULK queue. | |
unsigned int | LIM_mode_handle_cal_abort (LIM_Mode *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
Handle the Cal-Abort command. | |
unsigned int | LIM_mode_handle_cal_active (LIM_Mode *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
Handle an 'active' calibration command. | |
unsigned int | LIM_mode_handle_cal_start (LIM_Mode *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
Handle the Cal-Start command. | |
unsigned int | LIM_mode_handle_diag_abort (LIM_Mode *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
unsigned int | LIM_mode_handle_diag_active (LIM_Mode *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
unsigned int | LIM_mode_handle_diag_start (LIM_Mode *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
unsigned int | LIM_mode_handle_gbm_calcinfo (LIM_Mode *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
Handle the GBM-Calcinfo command. | |
unsigned int | LIM_mode_handle_gbm_closeout (LIM_Mode *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
Handle the GBM-Closeout command. | |
unsigned int | LIM_mode_handle_gbm_repoint (LIM_Mode *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
Handle a GBM-Repoint command. | |
unsigned int | LIM_mode_handle_physics_active (LIM_Mode *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
Handle an 'active' physics command. | |
unsigned int | LIM_mode_handle_physics_idle (LIM_Mode *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
Handle an 'idle' physics command. | |
unsigned int | LIM_mode_handle_physics_start (LIM_Mode *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
Handle the Physics-Start command. | |
unsigned int | LIM_mode_handle_physics_stop (LIM_Mode *object_p, LIM_Pkt_Send *pkt_send_p, const ITC_QueueItem *qitem_p) |
Handle the Physics-Stop command. |
** CVS $Id: LIM_mode.h,v 1.19 2006/03/17 03:45:04 dmay Exp $ **
unsigned int LIM_mode_delete | ( | LIM_Mode * | object_p | ) |
Shutdown and delete a mode object.
object_p | Pointer to mode object. |
Return mode information.
object_p | Pointer to LIM mode object. | |
info_p | Location to return mode information (must not be NULL). |
unsigned int LIM_mode_handle_bulk | ( | void * | prm, | |
const ITC_QueueItem * | qitem_p, | |||
void * | pay_p, | |||
unsigned int | len | |||
) |
Handle messages arriving on the BULK queue.
prm | Pointer to a context parm (ptr to mode control object). | |
qitem_p | Pointer to queue item. | |
pay_p | Pointer to command payload. | |
len | Length of the command payload, in bytes. |
unsigned int LIM_mode_handle_cal_abort | ( | LIM_Mode * | object_p, | |
LIM_Pkt_Send * | pkt_send_p, | |||
const ITC_QueueItem * | qitem_p | |||
) |
Handle the Cal-Abort command.
object_p | Pointer to LIM mode object. | |
pkt_send_p | Pointer to packet sending object. | |
qitem_p | Pointer to queue item. |
unsigned int LIM_mode_handle_cal_active | ( | LIM_Mode * | object_p, | |
LIM_Pkt_Send * | pkt_send_p, | |||
const ITC_QueueItem * | qitem_p | |||
) |
Handle an 'active' calibration command.
object_p | Pointer to LIM mode object. | |
pkt_send_p | Pointer to packet sending object. | |
qitem_p | Pointer to queue item. |
unsigned int LIM_mode_handle_cal_start | ( | LIM_Mode * | object_p, | |
LIM_Pkt_Send * | pkt_send_p, | |||
const ITC_QueueItem * | qitem_p | |||
) |
Handle the Cal-Start command.
object_p | Pointer to LIM mode object. | |
pkt_send_p | Pointer to packet sending object. | |
qitem_p | Pointer to queue item. |
unsigned int LIM_mode_handle_gbm_calcinfo | ( | LIM_Mode * | object_p, | |
LIM_Pkt_Send * | pkt_send_p, | |||
const ITC_QueueItem * | qitem_p | |||
) |
Handle the GBM-Calcinfo command.
object_p | Pointer to LIM mode object. | |
pkt_send_p | Pointer to packet sending object. | |
qitem_p | Pointer to queue item. |
unsigned int LIM_mode_handle_gbm_closeout | ( | LIM_Mode * | object_p, | |
LIM_Pkt_Send * | pkt_send_p, | |||
const ITC_QueueItem * | qitem_p | |||
) |
Handle the GBM-Closeout command.
object_p | Pointer to LIM mode object. | |
pkt_send_p | Pointer to packet sending object. | |
qitem_p | Pointer to queue item. |
unsigned int LIM_mode_handle_gbm_repoint | ( | LIM_Mode * | object_p, | |
LIM_Pkt_Send * | pkt_send_p, | |||
const ITC_QueueItem * | qitem_p | |||
) |
Handle a GBM-Repoint command.
object_p | Pointer to LIM mode object. | |
pkt_send_p | Pointer to packet sending object. | |
qitem_p | Pointer to queue item. |
unsigned int LIM_mode_handle_physics_active | ( | LIM_Mode * | object_p, | |
LIM_Pkt_Send * | pkt_send_p, | |||
const ITC_QueueItem * | qitem_p | |||
) |
Handle an 'active' physics command.
object_p | Pointer to LIM mode object. | |
pkt_send_p | Pointer to packet sending object. | |
qitem_p | Pointer to queue item. |
unsigned int LIM_mode_handle_physics_idle | ( | LIM_Mode * | object_p, | |
LIM_Pkt_Send * | pkt_send_p, | |||
const ITC_QueueItem * | qitem_p | |||
) |
Handle an 'idle' physics command.
object_p | Pointer to LIM mode object. | |
pkt_send_p | Pointer to packet sending object. | |
qitem_p | Pointer to queue item. |
unsigned int LIM_mode_handle_physics_start | ( | LIM_Mode * | object_p, | |
LIM_Pkt_Send * | pkt_send_p, | |||
const ITC_QueueItem * | qitem_p | |||
) |
Handle the Physics-Start command.
object_p | Pointer to LIM mode object. | |
pkt_send_p | Pointer to packet sending object. | |
qitem_p | Pointer to queue item. |
unsigned int LIM_mode_handle_physics_stop | ( | LIM_Mode * | object_p, | |
LIM_Pkt_Send * | pkt_send_p, | |||
const ITC_QueueItem * | qitem_p | |||
) |
Handle the Physics-Stop command.
object_p | Pointer to LIM mode object. | |
pkt_send_p | Pointer to packet sending object. | |
qitem_p | Pointer to queue item. |
unsigned int LIM_mode_new | ( | LIM_Mode ** | object_pp, | |
LIM_Task * | task_p, | |||
LIM_Pkt_Send * | cal_start_p, | |||
LIM_Pkt_Send * | cal_abort_p, | |||
LIM_Pkt_Send * | diag_start_p, | |||
LIM_Pkt_Send * | diag_abort_p, | |||
LIM_Pkt_Send * | gbm_calcinfo_p, | |||
LIM_Pkt_Send * | gbm_closeout_p, | |||
LIM_Pkt_Send * | gbm_repoint_p, | |||
LIM_Pkt_Send * | ltc_stop_p, | |||
LIM_Pkt_Send * | physics_start_p, | |||
LIM_Pkt_Send * | physics_stop_p, | |||
LIM_Pkt_Send * | slew_req_cmd_p, | |||
LIM_Pkt_Send * | slew_req_tlm_p, | |||
LIM_Pkt_Send * | slew_rsp_tlm_p, | |||
LIM_Pkt_Send * | shed_alert_tlm_p, | |||
LIM_Action * | action_p, | |||
LIM_Pool * | pool_p, | |||
const LIM_DB_Schema * | db_p | |||
) |
Create and initialize a new mode object.
object_pp | Location to return pointer to new object. | |
task_p | Ptr to a task object. | |
cal_start_p | Ptr to a Cal-Start pkt sending obj. | |
cal_abort_p | Ptr to a Cal-Abort pkt sending obj. | |
diag_start_p | Ptr to a Diag-Start pkt sending obj. | |
diag_abort_p | Ptr to a Diag-Abort pkt sending obj. | |
gbm_calcinfo_p | Ptr to a GBM-Calcinfo pkt sending obj. | |
gbm_closeout_p | Ptr to a GBM-Closeout pkt sending obj. | |
gbm_repoint_p | Ptr to a GBM-Repoint pkt sending obj. | |
ltc_stop_p | Ptr to a LTC-Stop pkt sending obj. | |
physics_start_p | Ptr to a Physics-Start pkt sending obj. | |
physics_stop_p | Ptr to a Physics-Stop pkt sending obj. | |
slew_req_cmd_p | Ptr to a Slew-Request cmd pkt sending obj. | |
slew_req_tlm_p | Ptr to a Slew-Request tlm pkt sending obj. | |
slew_rsp_tlm_p | Ptr to a Slew-Request resp tlm pkt send obj. | |
shed_alert_tlm_p | Ptr to a Load-Shed-Alert tlm pkt send obj. | |
action_p | Ptr to an action object. | |
pool_p | Ptr to a packet pool object. | |
db_p | Pointer to configuration information. |