GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-0-1 > lsew / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

dprintf.h File Reference

Debugging print out. More...

#include <stdio.h>

Defines

#define DNEWLINE()
#define DPRINTF(format,...)
 Debugging print macro, enable if and only if DEBUG is defined.
#define DECLARE(statement)
 If defined, drops statement.
#define dnewline   DNEWLINE
#define dprintf   DPRINTF
#define declare   DECLARE
#define DNEWLINE_0()
#define DPRINTF_0(format,...)
 Debugging print macro, enable if and only if DEBUG_0 is defined.
#define DECLARE_0(statement)
 If defined, drops statement.
#define dnewline_0   DNEWLINE_0
#define dprintf_0   DPRINTF_0
#define declare_0   DECLARE_0
#define DNEWLINE_1()
#define DPRINTF_1(format,...)
 Debugging print macro, enable if and only if DEBUG is defined.
#define DECLARE_1(statement,...)
 If defined, drops statement.
#define report(_title, _unit, _original, _compressed, _cnt)
#define dnewline_1   DNEWLINE_1
#define dprintf_1   DPRINTF_1
#define declare_1   DECLARE_1


Detailed Description

Debugging print out.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: dprintf.h,v 1.4 2009/04/30 19:00:24 russell Exp $

Defines three macro DPRINTF, DPRINTF_0, DPRINTF_1. These are noops unless the corresponding symbols, DEBUG, DEBUG_0 or DEBUG_1 are defined


Define Documentation

#define DPRINTF ( format,
...   ) 

Debugging print macro, enable if and only if DEBUG is defined.

Parameters:
format The printf style formatting string

#define DPRINTF_0 ( format,
...   ) 

Debugging print macro, enable if and only if DEBUG_0 is defined.

Parameters:
format The printf style formatting string

#define DPRINTF_1 ( format,
...   ) 

Debugging print macro, enable if and only if DEBUG is defined.

Parameters:
format The printf style formatting string


Generated on Mon Jul 26 12:59:20 2010 by  doxygen 1.5.3