ssCommonEnviroment.h

Go to the documentation of this file.
00001 /* $Id: ssCommonEnviroment.h,v 1.9 2005/10/26 11:44:03 pfb Exp $ */
00002 
00003 #ifndef _ssCommonEnviroment_h
00004 #define _ssCommonEnviroment_h
00005 
00010 #include "ssEnviroment.h"
00011 #include "../../../Common/Utility/Misc/GoNogo.h"
00012 #include <string>
00013 #include <map>
00014 
00015 using namespace std;
00016 
00017 class CommonEnviromentParser;
00018 
00025 class ssCommonEnviroment : public ssEnviroment
00026   {
00027 
00028   //****************************************************************************
00029                              public:
00030 
00041    static ssCommonEnviroment *New();
00042 
00043   //BTX
00058   static ssCommonEnviroment *New(const string& context);
00059   //ETX
00060 
00065   virtual bool Hup();
00066   
00071   const GoNogo& State() const;
00072 
00073   //BTX
00078   const string ContextFile() const;
00079   
00084   const string& DatasetBase() const;
00085   //ETX
00086 
00091   int DefaultThreeDXSize();
00092 
00097   int DefaultThreeDYSize();
00098 
00099   //BTX
00104   const string& InstrumentType() const;
00105   //ETX
00106 
00111   int DefaultPingsPerSwath() const;
00112 
00117   int DefaultSwathsToFilter() const;
00118 
00119 //******************************************************************************
00120                              protected:
00121 
00125   ssCommonEnviroment();
00126 
00127   //BTX
00140   ssCommonEnviroment(const string& context);
00141   //ETX
00142 
00146   ~ssCommonEnviroment();
00147 
00148 //******************************************************************************
00149                              private:
00150 
00154   CommonEnviromentParser *parser;
00155 
00156   //BTX
00160   string            context; 
00161   //ETX
00162 
00163   };
00164 
00168 #endif
00169 
00170 /*
00171  * $Log: ssCommonEnviroment.h,v $
00172  * Revision 1.9  2005/10/26 11:44:03  pfb
00173  * Fixed doxygen test.
00174  *
00175  * Revision 1.8  2005/08/12 08:56:10  pfb
00176  * Added default namespace.
00177  *
00178  * Revision 1.7  2005/06/10 07:49:02  pfb
00179  * Changes made as a result of dev. machine update from woody to sarge.
00180  * Most of the changes are because of the upgrade from gcc-2.95 to gcc-3.3.
00181  *
00182  * Revision 1.6  2005/05/11 11:40:11  pfb
00183  * Added module info.
00184  *
00185  * Revision 1.5  2004/12/27 14:17:32  pfb
00186  * Added DefaultPingsPerSwath() and DefaultSwathsToFilter().
00187  *
00188  * Revision 1.4  2004/07/22 02:06:51  pfb
00189  * Changed the default context to "CommonEnviroment".
00190  *
00191  * Revision 1.3  2004/07/20 04:54:57  pfb
00192  * Added InstrumentType().
00193  *
00194  * Revision 1.2  2004/07/18 13:31:46  pfb
00195  * Sorted out singleton.
00196  *
00197  * Revision 1.1  2004/07/13 10:06:37  pfb
00198  * Initial rev.
00199  *
00200  *
00201  */