Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

psAbort.h

Go to the documentation of this file.
00001 
00002 /** @file  psAbort.h
00003  *
00004  *  @brief Contains the declarations for the abort function
00005  *
00006  *  The abort logging and handling shall be performed by psAbort function.
00007  *  This will allow for consistent handling of other software units
00008  *  needing to abort from program execution.
00009  *
00010  *  @ingroup ErrorHandling
00011  *
00012  *  @author Eric Van Alst, MHPCC
00013  *
00014  *  @version $Revision: 1.1.1.1 $ $Name:  $
00015  *  @date $Date: 2005/06/15 21:08:12 $
00016  *
00017  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
00018  */
00019 
00020 #ifndef PS_ABORT_H
00021 #define PS_ABORT_H
00022 
00023 // Doxygen grouping tags
00024 
00025 /** @addtogroup ErrorHandling
00026  *  @{
00027  */
00028 
00029 /** Reports an abort message to logging facility
00030  *
00031  *  This function will invoke the psLogMsg function with a level of
00032  *  PS_LOG_ABORT and pass the parameters name and fmt to generate a proper
00033  *  log message.  After logging, this function will call system abort
00034  *  function to abnormally terminate the program.
00035  *
00036  *  @return  void No return value
00037  *
00038  */
00039 void psAbort(
00040     const char *name,                  ///< Source of abort such as file or function detected
00041     const char *fmt,                   ///< A printf style formatting statement defining msg
00042     ...
00043 );
00044 
00045 /** @} */ // Doxygen - End of SystemGroup Functions
00046 
00047 #endif // #ifndef PS_ABORT_H

Generated on Wed Jun 15 11:00:56 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.1