GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / dev > edsprint / linux-gcc
#include <EDS/ACD_print.h>
#include <EDS/ACD_names.h>
#include <EDS/ACD_rec.h>
#include <stdio.h>
Functions | |
static void | channel_print (const ACD_chn *chn, int nchns) |
Prints a formatted dump of the ACD channel-by-channel information. | |
static void | header_print (const ACD_rec *acd) |
Internal routine to print the header information of an unpacked ACD record. | |
static void | newline (void) |
Emits a new line to the output stream. | |
void | ACD_print (const ACD_rec *acd, unsigned int options) |
Prints a formatted dump of the specified ACD_rec. | |
static __inline int | count (unsigned char *cables, const ACD_chn *chns, int nchns) |
Internal routine to count the number of channels on each cable with data. | |
static __inline void | title_print (const ACD_chn *chns, int beg, int ncables, const unsigned char *cables) |
Prints the title line for the specified cables. | |
static __inline int | row_print (const ACD_chn *chns, int beg, int ncables, const unsigned char *cables) |
Prints one row of the ACD channel-by-channel information. |
CVS $Id: ACD_print.c,v 1.3 2011/03/25 22:16:55 russell Exp $
void ACD_print | ( | const ACD_rec * | acd, | |
unsigned int | options | |||
) |
Prints a formatted dump of the specified ACD_rec.
acd | The ACD record to print | |
options | What to print |
References channel_print(), and header_print().
static void channel_print | ( | const ACD_chn * | chns, | |
int | nchns | |||
) | [static] |
Prints a formatted dump of the ACD channel-by-channel information.
chns | The source array of ACD channel-by-channel information. | |
nchns | The count of the number of elements in the chns array |
References count(), newline(), and row_print().
Referenced by ACD_print().
static __inline int count | ( | unsigned char * | cables, | |
const ACD_chn * | chns, | |||
int | nchns | |||
) | [static] |
Internal routine to count the number of channels on each cable with data.
cables | The destination array to receive the counts for each active cable. This array is filled in a dense fashion, and, thus, contains only cables with data. | |
chns | The source array of ACD channel-by-channel information. | |
nchns | The count of the number of elements in the chns array |
Referenced by channel_print(), and EBF__errGTRCStackCount().
static void header_print | ( | const ACD_rec * | acd | ) | [static] |
Internal routine to print the header information of an unpacked ACD record.
acd | The unpacked ACD information to print |
Referenced by ACD_print().
static __inline int row_print | ( | const ACD_chn * | chns, | |
int | beg, | |||
int | ncables, | |||
const unsigned char * | cables | |||
) | [static] |
Prints one row of the ACD channel-by-channel information.
chns | The source array of ACD channel-by-channel information. | |
beg | Index of first channel of the first cable to be printed | |
ncables | The number of 'cable' titles to be printed | |
cables | The array of offsets to the last channel of each cable to be printed. |
References ACD_tileNameE(), newline(), and title_print().
Referenced by channel_print().
static __inline void title_print | ( | const ACD_chn * | chns, | |
int | beg, | |||
int | ncables, | |||
const unsigned char * | cables | |||
) | [static] |
Prints the title line for the specified cables.
chns | The source array of ACD channel-by-channel information. | |
beg | Index of first channel of the first cable to be printed | |
ncables | The number of 'cable' titles to be printed | |
cables | The array of offsets to the last channel of each cable to be printed. |
References ACD_CableNames, and newline().
Referenced by row_print().