GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-12-1 > edsprint / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

EBF_dirPrint.h File Reference

EBF directory print utilities , Interface. More...


Typedefs

typedef enum _EBF_ERRPRINTOPTS_M EBF_ERRPRINTOPTS_M
 Typedef for EBF_ERRPRINTOPTS_M.

Enumerations

enum  _EBF_ERRPRINTOPTS_M {
  EBF_ERRPRINTOPTS_M_RAW = 1 << 0,
  EBF_ERRPRINTOPTS_M_REC = 1 << 1,
  EBF_ERRPRINTOPTS_M_FMT = 1 << 2
}
 Options to EBF_errPrintOpts. More...

Functions

void EBF_dirPrint (const EBF_dir *dir)
 Provides a formatted print out of the contributors in dir.
void EBF_gemPrint (const EBF_dirCtbDsc *trg)
 Provides a formatted print out of the contents of the GEM contribution.
void EBF_acdPrint (const EBF_dirCtbDsc *acd)
 Provides a formatted print out of the contents of the ACD contribution.
void EBF_temPrint (const EBF_dirCtbDsc *tem)
 Provides a formatted print out of the contents of a TEM contribution.
void EBF_calPrint (const EBF_dirCtbDsc *tem)
 Provides a formatted print out of the contents of a CAL TEM contribution.
void EBF_tkrPrint (const EBF_dirCtbDsc *tem)
 Provides a formatted print out of the contents of a TKR TEM contribution.
void EBF_dgnPrint (const EBF_dirCtbDsc *tem)
 Provides a formatted print out of the contents of a TEM's diagnostic contribution.
void EBF_errPrint (const EBF_dirCtbDsc *tem)
 Provides a formatted print out of the contents of a TEM's error contribution.
void EBF_padPrint (const EBF_dirCtbDsc *twr)
 Provides a formatted print out of the contents of a TEM's pad contribution.
void EBF_errPrintOpts (const EBF_dirCtbDsc *tem, const EBF_dirAuxDsc *aux, EBF_ERRPRINTOPTS_M opts)
 Print the error record. The opts controls the type of display.
void EBF_dirPktsPrint (const EBF_dir *dir)
 Prints a hex dump of the packets for this directory.


Detailed Description

EBF directory print utilities , Interface.

Author:
JJRussell - russell@slac.stanford.edu
Provides basic printing routines to display the contents of EBF data structures. The starting point is an event directory structure.

    CVS $Id: EBF_dirPrint.h,v 1.6 2009/04/29 17:17:57 russell Exp $

Enumeration Type Documentation

Options to EBF_errPrintOpts.

Enumerator:
EBF_ERRPRINTOPTS_M_RAW  Hex dump of the error record
EBF_ERRPRINTOPTS_M_REC  Formatted as CC records
EBF_ERRPRINTOPTS_M_FMT  Formatted dump


Function Documentation

void EBF_acdPrint ( const EBF_dirCtbDsc *  acd  ) 

Provides a formatted print out of the contents of the ACD contribution.

Parameters:
acd Pointer to the ACD contributor descriptor

References print_data().

Referenced by EBF_dirPrint().

void EBF_calPrint ( const EBF_dirCtbDsc *  tem  ) 

Provides a formatted print out of the contents of a CAL TEM contribution.

Parameters:
tem Pointer to the TEM contributor descriptor containing the CAL record to be printed

References print_data().

Referenced by EBF_temPrint().

void EBF_dgnPrint ( const EBF_dirCtbDsc *  tem  ) 

Provides a formatted print out of the contents of a TEM's diagnostic contribution.

Parameters:
tem Pointer to the TEM contributor descriptor containing the diagnostic data to be printed.

References _EBF_esw::bf, _EBF_temDiag::cal, _EBF_esw_bf::dgnblk, EBF_tkrLenCalc(), _EBF_ctbHdr::esw, _EBF_ctb::hdr, print_data(), _EBF_temDiag::tkr, and _EBF_esw::ui.

Referenced by EBF_temPrint().

void EBF_dirPktsPrint ( const EBF_dir *  dir  ) 

Prints a hex dump of the packets for this directory.

Parameters:
dir The EBF directory

References print_pktDscs().

void EBF_dirPrint ( const EBF_dir *  dir  ) 

Provides a formatted print out of the contributors in dir.

Parameters:
dir The directory for this event

References _EBF_evt::ctb, EBF__ctbSequence(), EBF_acdPrint(), EBF_CID_K_AEM, EBF_CID_K_GEM, EBF_CID_K_TEM, EBF_temPrint(), and print_data().

void EBF_errPrint ( const EBF_dirCtbDsc *  tem  ) 

Provides a formatted print out of the contents of a TEM's error contribution.

Parameters:
tem Pointer to the TEM contributor descriptor containing the error data to be printed.

References fill_DgnErrDsc(), and print_err_raw().

Referenced by EBF_temPrint().

void EBF_errPrintOpts ( const EBF_dirCtbDsc *  tem,
const EBF_dirAuxDsc *  aux,
EBF_ERRPRINTOPTS_M  opts 
)

Print the error record. The opts controls the type of display.

Parameters:
tem Pointer to the TEM contributor descriptor
aux Pointer to the AUX descriptor, may be NULL
opts The print options,
See also:
EBF_ERRPRINTOPTS_M

References EBF_ERRPRINTOPTS_M_FMT, EBF_ERRPRINTOPTS_M_RAW, EBF_ERRPRINTOPTS_M_REC, fill_DgnErrDsc(), print_err_fmt(), and print_err_raw().

void EBF_gemPrint ( const EBF_dirCtbDsc *  gem  ) 

Provides a formatted print out of the contents of the GEM contribution.

Parameters:
gem A pointer to the trigger contributor descriptor.

References print_data().

void EBF_padPrint ( const EBF_dirCtbDsc *  tem  ) 

Provides a formatted print out of the contents of a TEM's pad contribution.

Parameters:
tem Pointer to the TEM contributor descriptor containing the pad data to be printed.

References _EBF_esw::bf, _EBF_esw_bf::dgnblk, EBF__errSize(), EBF_tkrLenCalc(), _EBF_esw_bf::errblk, _EBF_ctbHdr::esw, _EBF_ctb::hdr, print_data(), and _EBF_esw::ui.

Referenced by EBF_temPrint().

void EBF_temPrint ( const EBF_dirCtbDsc *  tem  ) 

Provides a formatted print out of the contents of a TEM contribution.

Parameters:
tem Pointer to the TEM contributor descriptor to be printed

References EBF_calPrint(), EBF_dgnPrint(), EBF_errPrint(), EBF_padPrint(), and EBF_tkrPrint().

Referenced by EBF_dirPrint().

void EBF_tkrPrint ( const EBF_dirCtbDsc *  tem  ) 

Provides a formatted print out of the contents of a TKR TEM contribution.

Parameters:
tem Pointer to the TEM contributor descriptor containing the TKR data to be printed

References EBF_tkrLenCalc(), and print_data().

Referenced by EBF_temPrint().


Generated on Wed Nov 21 18:40:24 2012 by  doxygen 1.5.8