GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / V4-5-0 > iefc / rhel5-64
Defines | |
#define | EDM_PRINTF(_args) |
Macro to call EDM_printf. | |
#define | EDM_XPRINTF(_stuff) |
Macro to call EDM_xprintf. | |
#define | EDM_DEBUGPRINTF(_stuff) |
Macro to call EDM_debugPrintf (). | |
#define | EDM_INFOPRINTF(_stuff) |
Macro to call EDM_infoPrintf (). | |
#define | EDM_WARNINGPRINTF(_stuff) |
Macro to call EDM_warningPrintf (). | |
#define | EDM_ERRORPRINTF(_stuff) |
Macro to call EDM_errorPrintf (). | |
#define | EDM_FATALPRINTF(_stuff) |
Macro to call EDM_FatalPrintf (). | |
#define | EDM_CODE(_code) |
Macro to drop C statements that are only used if and only if the Event Diagnostic Message (EDM) facility is active. | |
Typedefs | |
typedef enum _EDM_level | EDM_level |
Typedef for enum _EDM_level. | |
Enumerations | |
enum | _EDM_level { EDM_K_DEBUG = 2, EDM_K_INFO = 3, EDM_K_WARNING = 4, EDM_K_ERROR = 5, EDM_K_FATAL = 6 } |
This sets the verbosity level. More... |
CVS $Id: EDM.h,v 1.2 2005/11/22 02:32:06 russell Exp $
#define EDM_CODE | ( | _code | ) |
Macro to drop C statements that are only used if and only if the Event Diagnostic Message (EDM) facility is active.
_code | The contents of this argument are just dropped if the Event Diagnostic Message (EDM) facility is active. |
EDM_CODE (int error_cnt = 0); . . ntracks = ntracks + 1; EDM_CODE((if (ntracks > MAX_TRACKS) { error_cnt++; } ))
Referenced by findPrj().
#define EDM_DEBUGPRINTF | ( | _stuff | ) |
Macro to call EDM_debugPrintf ().
_stuff | The print level followed by the printf arguments. Note that all these arguments must must be jacketed in surrounding parenthesis so that the collection of of arguments appears as one argument to the preprocessor. |
EDM_DEBUGPRINTF ((GblMsgLevel, "Starting track finding for event #: %8x\n", enum));
If EDM_USE is not defined, this macro is a NOP.
#define EDM_ERRORPRINTF | ( | _stuff | ) |
Macro to call EDM_errorPrintf ().
_stuff | The print level followed by the printf arguments. Note that all these arguments must must be jacketed in surrounding parenthesis so that the collection of of arguments appears as one argument to the preprocessor. |
EDM_ERRORPRINTF ((GblMsgLevel, "Starting track finding for event #: %8x\n", enum));
If EDM_USE is not defined, this macro is a NOP.
#define EDM_FATALPRINTF | ( | _stuff | ) |
Macro to call EDM_FatalPrintf ().
_stuff | The print level followed by the printf arguments. Note that all these arguments must must be jacketed in surrounding parenthesis so that the collection of of arguments appears as one argument to the preprocessor. |
EDM_FATALPRINTF ((GblMsgLevel, "Starting track finding for event #: %8x\n", enum));
If EDM_USE is not defined, this macro is a NOP.
#define EDM_INFOPRINTF | ( | _stuff | ) |
Macro to call EDM_infoPrintf ().
_stuff | The print level followed by the printf arguments. Note that all these arguments must must be jacketed in surrounding parenthesis so that the collection of of arguments appears as one argument to the preprocessor. |
EDM_INFOPRINTF ((GblMsgLevel, "Starting track finding for event #: %8x\n", enum));
If EDM_USE is not defined, this macro is a NOP.
#define EDM_PRINTF | ( | _args | ) |
Macro to call EDM_printf.
_args | The printf arguments. Note that if there is more than one argument, they must must be jacketed in surrounding parenthesis so that the collection of arguments appears as one argument to the preprocessor. |
#define EDM_WARNINGPRINTF | ( | _stuff | ) |
Macro to call EDM_warningPrintf ().
_stuff | The print level followed by the printf arguments. Note that all these arguments must must be jacketed in surrounding parenthesis so that the collection of of arguments appears as one argument to the preprocessor. |
EDM_WARNINGPRINTF ((GblMsgLevel, "Starting track finding for event #: %8x\n", enum));
If EDM_USE is not defined, this macro is a NOP.
#define EDM_XPRINTF | ( | _stuff | ) |
Macro to call EDM_xprintf.
_stuff | The message level and the print level followed by the printf arguments. Note that all these arguments must must be jacketed in surrounding parenthesis so that the collection of arguments appears as one argument to the preprocessor. |
EDM_XPRINTF ((EDM_K_INFO, GblMsgLevel, "Starting track finding for event #: %8x\n", enum));
The first 2 arguments, EDM_K_INFO and GblMsgLevel represent
The remaining two arguments represent the printf format statement and its arguments.
If EDM_USE is not defined, this macro is a NOP.
Typedef for enum _EDM_level.
The verbosity level is pattern after the offline definitions. It uses a descending scale (seems backwards to me, the least output I would have defined as 0, with increasing verbosity at higher numbers, oh well, there must have been a good reason.
enum _EDM_level |