IonoModelStore.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: IonoModelStore.hpp 70 2006-08-01 18:36:21Z ehagen $"
00002 
00003 
00004 
00005 #ifndef GPSTK_IONOMODELSTORE_HPP
00006 #define GPSTK_IONOMODELSTORE_HPP
00007 
00008 //============================================================================
00009 //
00010 //  This file is part of GPSTk, the GPS Toolkit.
00011 //
00012 //  The GPSTk is free software; you can redistribute it and/or modify
00013 //  it under the terms of the GNU Lesser General Public License as published
00014 //  by the Free Software Foundation; either version 2.1 of the License, or
00015 //  any later version.
00016 //
00017 //  The GPSTk is distributed in the hope that it will be useful,
00018 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00019 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020 //  GNU Lesser General Public License for more details.
00021 //
00022 //  You should have received a copy of the GNU Lesser General Public
00023 //  License along with GPSTk; if not, write to the Free Software Foundation,
00024 //  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025 //  
00026 //  Copyright 2004, The University of Texas at Austin
00027 //
00028 //============================================================================
00029 
00030 //============================================================================
00031 //
00032 //This software developed by Applied Research Laboratories at the University of
00033 //Texas at Austin, under contract to an agency or agencies within the U.S. 
00034 //Department of Defense. The U.S. Government retains all rights to use,
00035 //duplicate, distribute, disclose, or release this software. 
00036 //
00037 //Pursuant to DoD Directive 523024 
00038 //
00039 // DISTRIBUTION STATEMENT A: This software has been approved for public 
00040 //                           release, distribution is unlimited.
00041 //
00042 //=============================================================================
00043 
00044 
00045 
00046 
00047 
00048 
00054 #include <map>
00055 #include "DayTime.hpp"
00056 #include "IonoModel.hpp"
00057 
00058 namespace gpstk
00059 {
00062 
00068    class IonoModelStore
00069    {
00070    public:
00075       NEW_EXCEPTION_CLASS(NoIonoModelFound, gpstk::Exception);
00076       
00078       IonoModelStore() throw() {}
00079       
00081       virtual ~IonoModelStore() throw() {}
00082       
00092       double getCorrection(const DayTime& time,
00093                            const Geodetic& rxgeo,
00094                            double svel,
00095                            double svaz,
00096                            IonoModel::Frequency freq = IonoModel::L1) const
00097          throw(NoIonoModelFound);
00098 
00105       bool addIonoModel(const DayTime& mt, const IonoModel& im) throw();
00106       
00107 
00108    private:
00109       
00110       typedef std::map<DayTime, IonoModel> IonoModelMap;
00111       IonoModelMap ims;
00112    };
00113    
00115 }
00116 
00117 #endif

Generated on Wed Feb 8 03:31:00 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1