GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> ITC / V3-9-1 > itc / linux-gcc
#include <string.h>
#include "PBI/TBD_id.h"
#include "PBS/FORK.h"
#include "PBS/TBD.ih"
#include "PBS/TOC.h"
#include "MSG/MSG_pubdefs.h"
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_drvdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "ITC/ITC_msgs.h"
#include "ITC_inline.ih"
#include "ITC_prvdefs.h"
Functions | |
static ITC_cb_Processor * | findProcessor (const ITC_CommandList *lst, unsigned int fnc) |
Find a command in a list of commands indexed by function code. | |
FORK_cb_status | ITC_dispatch (FORK_cb_prm *prm, FORK_msg_hdr *msg) |
The heart of ITC task level dispatching. | |
unsigned int | ITC_dispatchApp (void *prm, const ITC_QueueItem *qitem, void *qipay, unsigned int qilen) |
Find a command in a list of commands indexed by function code. | |
FORK_cb_status | ITC_startMeta (FORK_cb_prm *prm, FORK_msg_hdr *msg) |
Process a request to start an ITC task. | |
FORK_cb_status | ITC_stopMeta (FORK_cb_prm *prm, FORK_msg_hdr *msg) |
Process a request to stop an ITC task. |
CVS $Id: ITC_dispatch.c,v 1.14 2005/09/08 16:21:37 apw Exp $
static ITC_cb_Processor * findProcessor | ( | const ITC_CommandList * | lst, | |
unsigned int | fnc | |||
) | [inline, static] |
Find a command in a list of commands indexed by function code.
lst | (in) Command list | |
fnc | (in) Function code |
NULL | Failure | |
x | Address of routine |
FORK_cb_status ITC_dispatch | ( | FORK_cb_prm * | prm, | |
FORK_msg_hdr * | msg | |||
) |
The heart of ITC task level dispatching.
prm | (in) User context parameter | |
msg | (in) Message buffer |
FORK_C_CONTINUE | Continue fork | |
~FORK_C_CONTINUE | Shut down fork |
unsigned int ITC_dispatchApp | ( | void * | prm, | |
const ITC_QueueItem * | qitem, | |||
void * | qipay, | |||
unsigned int | qilen | |||
) |
Find a command in a list of commands indexed by function code.
prm | (in) User parameter | |
qitem | (in) Queue item | |
qipay | (in) Queue item payload pointer | |
qilen | (in) Queue item payload length |
NULL | Failure | |
x | Address of routine |
FORK_cb_status ITC_startMeta | ( | FORK_cb_prm * | prm, | |
FORK_msg_hdr * | msg | |||
) |
Process a request to start an ITC task.
prm | (in) User context parameter | |
msg | (in) Message buffer |
ITC_SUCCESS | Success |
FORK_cb_status ITC_stopMeta | ( | FORK_cb_prm * | prm, | |
FORK_msg_hdr * | msg | |||
) |
Process a request to stop an ITC task.
prm | (in) User context parameter | |
msg | (in) Message buffer |
ITC_SUCCESS | Success |