GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCI / V6-0-0 > lci / mv2304


Interface   Data Structures   File List   Data Fields   Globals  

macros_p.h File Reference

Miscellaneous macros used by LCI. More...


Defines

#define _printf(msg, format, args...)
 Provide printf-like functionality using MSG information message.
#define CHECK_CALL(FUNC)
 Call a function and check the return value.

Enumerations

enum  { PRINTSZ = 256 }


Detailed Description

Miscellaneous macros used by LCI.

Author:
James Swain & Owen Saxton
Id

Define Documentation

#define _printf ( msg,
format,
args...   ) 

Value:

{ \
   char buffer[PRINTSZ];\
   sprintf(buffer, format, ## args); \
   _msg_report(msg, 0, 1, buffer); \
 }
Provide printf-like functionality using MSG information message.

#define CHECK_CALL ( FUNC   ) 

Value:

{ \
  unsigned status = FUNC;\
  if (_msg_failure(status)) return status;\
}
Call a function and check the return value.


Generated on Thu Aug 20 14:53:31 2009 by  doxygen 1.5.3