GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSD / dev > qsdprint / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

QSD_ctxPrint.c File Reference

Prints the standard Datagram Identifier. More...

#include <QSD/QSD_ctx.h>
#include <QSD/QSD_ctxPrint.h>
#include <LSE/LSE_modeNames.h>
#include <LSE/LSE_cpuNames.h>
#include <LSE/LSE_originNames.h>
#include <LSE/LSE_reasonNames.h>
#include <stdio.h>

Defines

#define Cntof(_array)   (sizeof(_array)/sizeof(*(_array)))
 Returns the count of elements in _array.

Functions

void QSD_ctxOpenClosePrint (const QSD_ctxOpen *open, const QSD_ctxClose *close)
 Produces a dump of the standard open and close context information.
void QSD_ctxDidPrint (const QSD_ctxDid *did)
 Prints the Datagram Identifier.
void QSD_ctxPrint (const QSD_ctx *ctx, const char *title)
 Produces a dump of the standard context information.


Detailed Description

Prints the standard Datagram Identifier.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: QSD_ctxPrint.c,v 1.2 2011/03/26 21:06:58 russell Exp $

Define Documentation

#define Cntof ( _array   )     (sizeof(_array)/sizeof(*(_array)))

Returns the count of elements in _array.

Parameters:
_array The array to count

Referenced by QSD_ctxDidPrint(), and QSD_ctxOpenClosePrint().


Function Documentation

void QSD_ctxDidPrint ( const QSD_ctxDid did  ) 

Prints the Datagram Identifier.

Parameters:
did The datagram identifier to print

References _QSD_ctxDid::chg, Cntof, _QSD_ctxDid::dgm, _QSD_ctxDid::run, and _QSD_ctxDid::tim.

Referenced by QSD_ctxPrint().

void QSD_ctxOpenClosePrint ( const QSD_ctxOpen open,
const QSD_ctxClose close 
)

Produces a dump of the standard open and close context information.

const char *title)

Parameters:
open The datagram open information to print
close The datagram close information to print

References Cntof, _QSD_ctxClose::reason, and _QSD_ctxOpen::reason.

Referenced by QSD_ctxPrint().

void QSD_ctxPrint ( const QSD_ctx ctx,
const char *  title 
)

Produces a dump of the standard context information.

Parameters:
ctx The datagram context to print.
title The title string, may by NULL

References _QSD_ctx::close, _QSD_ctx::did, _QSD_ctx::open, QSD_ctxDidPrint(), and QSD_ctxOpenClosePrint().


Generated on Thu Sep 27 16:31:56 2012 by  doxygen 1.5.8