GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / dev > lseprint / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

LSE_etxCtbPrint.c File Reference

Simple print/dump routines for Event Context Contribution. More...

#include <LSE/LSE_reasonNames.h>
#include <LSE/LSE_etxCtbPrint.h>
#include <LSE/LSE_etxBdyPrint.h>
#include <LSE/LSE_etxCtb.h>
#include <stdio.h>

Functions

static void bridge_print (unsigned char bridge)
 Prints the reasons why the overall LSE datagram was opened and subsequently closed.
int LSE_etxCtbAbbreviatedPrint (const LSE_etxCtbAbbreviated *etx)
 Prints the contents of an LSE_etxCtbAbbreviated contribution.
int LSE_etxCtbFullPrint (const LSE_etxCtbFull *etx)
 Prints the contents of an LSE_etxCtbFull contribution.


Detailed Description

Simple print/dump routines for Event Context Contribution.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: LSE_etxCtbPrint.c,v 1.4 2011/03/26 17:35:24 russell Exp $

Function Documentation

static void bridge_print ( unsigned char  bridge  )  [static]

Prints the reasons why the overall LSE datagram was opened and subsequently closed.

Parameters:
bridge The bridge word from the contribution header. This contains the reasons.

References _LSE_etxBridge::bf, _LSE_reason_names::close, _LSE_etxBridge_bf::close, LSE_reasonNames, _LSE_reason_names::open, _LSE_etxBridge_bf::open, and _LSE_etxBridge::ub.

Referenced by LSE_etxCtbAbbreviatedPrint(), and LSE_etxCtbFullPrint().

int LSE_etxCtbAbbreviatedPrint ( const LSE_etxCtbAbbreviated etx  ) 

Prints the contents of an LSE_etxCtbAbbreviated contribution.

Return values:
0,always 
Parameters:
etx The contribution to print

References _LSE_etxCtbAbbreviated::bdy, bridge_print(), _LSE_etxCtbAbbreviated::hdr, and LSE_etxBdyAbbreviatedPrint().

Referenced by LSE_stdCtbPrint().

int LSE_etxCtbFullPrint ( const LSE_etxCtbFull etx  ) 

Prints the contents of an LSE_etxCtbFull contribution.

Return values:
0,always 
Parameters:
etx The contribution to print

References _LSE_etxCtbFull::bdy, bridge_print(), _LSE_etxCtbFull::hdr, and LSE_etxBdyFullPrint().

Referenced by LSE_stdCtbPrint().


Generated on Fri Nov 30 10:00:23 2012 by  doxygen 1.5.8