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

psConfigure.h

Go to the documentation of this file.
00001 /** @file  psConfigure.h
00002  *
00003  *  @brief Contains the declarations for initialization, memory finalization, and configuration.
00004  *
00005  *  These functions initalize psLib data before the beginning of a run and remove (finalize) the
00006  *  same data after the run is complete. A function is also provided to return the current
00007  *  psLib version.
00008  *
00009  *  @ingroup Configure
00010  *
00011  *  @author Ross Harman, MHPCC
00012  *  @author George Gusciora, MHPCC
00013  *  @author Robert DeSonia, MHPCC
00014  *
00015  *  @version $Revision: 1.3 $ $Name: rel5_0 $
00016  *  @date $Date: 2005/02/17 19:26:24 $
00017  *
00018  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
00019  */
00020 
00021 #ifndef PS_CONFIGURE_H
00022 #define PS_CONFIGURE_H
00023 
00024 
00025 /** @addtogroup Configure
00026  *  @{
00027  */
00028 
00029 /** Get current psLib version
00030  *
00031  *  Returns the current psLib version name as a string.
00032  *
00033  *  @return char*: String with version name.
00034  */
00035 char* psLibVersion(
00036     void
00037 );
00038 
00039 /** Initializes persistent memory.
00040  *
00041  *  Creates persistant memory items used throughout psLib. Items created within this method should be freed
00042  *  with the psLibFinalize function.
00043  *  current, a non-NULL psErr is returned with code PS_ERR_NONE.
00044  *
00045  *  @return void: void.
00046  */
00047 void psLibInit(
00048     bool predictable,
00049     const char* timeConfig
00050 );
00051 
00052 /** Removes persistant memory created with the psLibInit function.
00053  *
00054  *  The memory created but not freed by psLib modules should be freed within this
00055  *  function at the end of a psLib execution cycle.
00056  *
00057  *  @return void: void.
00058  */
00059 void psLibFinalize(
00060     void
00061 );
00062 
00063 
00064 /* @} */
00065 
00066 #endif

Generated on Mon Apr 4 18:24:44 2005 for Pan-STARRS Foundation Library by  doxygen 1.3.9.1