GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCI / dev > lci_host / 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 Wed Mar 3 14:48:14 2010 by  doxygen 1.5.3