GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MSG / V3-0-2

Constituent: msg2src     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

MSG_packet.ih File Reference

Specialized message packet filler (assumes one four byte parameter). More...

#include "PBS/WCT.h"
#include "MDB/MDB_pubdefs.h"
#include "MSG_prvdefs.h"

Include dependency graph for MSG_packet.ih:

Include dependency graph

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

Included by dependency graph

Functions

void MSG__packetFill (MSG_Packet *pkt, WCT_time hack, unsigned int code, const char *tsk, const char *rtn, const MSG_FacList *fdb, const MSG_MsgList *mdb, void **tbd, unsigned short isr, unsigned short trc, unsigned int fuse, unsigned int nuse, unsigned int parm)
 Fill a message packet assuming one four-byte parameter.


Detailed Description

Specialized message packet filler (assumes one four byte parameter).

CVS $Id: MSG_packet.ih,v 1.3 2005/07/16 19:46:32 apw Exp $
Author:
A.P.Waite
MSG_packet.ih provides specialized inline packet filling routines for use in performance critical pieces of code. These occasions are mostly associated with preparing and filling blackout messages where this has to be performed under lock.

Function Documentation

void MSG__packetFill MSG_Packet *  pkt,
WCT_time  hack,
unsigned int  code,
const char *  tsk,
const char *  rtn,
const MSG_FacList *  fdb,
const MSG_MsgList *  mdb,
void **  tbd,
unsigned short  isr,
unsigned short  trc,
unsigned int  fuse,
unsigned int  nuse,
unsigned int  parm
[inline, static]
 

Fill a message packet assuming one four-byte parameter.

Parameters:
pkt (in) Message packet
hack (in) Wall clock time associated with the message
code (in) Message code
tsk (in) Task name
rtn (in) Routine name
fdb (in) Facility database entry
mdb (in) Message database entry
tbd (in) Pointer to task TBD block
isr (in) Annotate if call from ISR level
trc (in) Trace buffer number
fuse (in) Formats used (an encoded word)
nuse (in) Number of formats used (count of fields in "fuse")
parm (in) The one and only parameter allowed in this call
MSG_packetFill() fills all the fixed fields in a message packet. OK in truth it also fills one of the variable fields ... it fills in one four byte integer slot in the message buffer.


Generated on Thu Sep 22 08:09:09 2005 by doxygen 1.3.3