ComputeTropModel.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: ComputeTropModel.hpp 3140 2012-06-18 15:03:02Z susancummins $"
00002 
00009 #ifndef GPSTK_COMPUTETROPMODEL_HPP
00010 #define GPSTK_COMPUTETROPMODEL_HPP
00011 
00012 //============================================================================
00013 //
00014 //  This file is part of GPSTk, the GPS Toolkit.
00015 //
00016 //  The GPSTk is free software; you can redistribute it and/or modify
00017 //  it under the terms of the GNU Lesser General Public License as published
00018 //  by the Free Software Foundation; either version 2.1 of the License, or
00019 //  any later version.
00020 //
00021 //  The GPSTk is distributed in the hope that it will be useful,
00022 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00023 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00024 //  GNU Lesser General Public License for more details.
00025 //
00026 //  You should have received a copy of the GNU Lesser General Public
00027 //  License along with GPSTk; if not, write to the Free Software Foundation,
00028 //  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
00029 //
00030 //  Dagoberto Salazar - gAGE ( http://www.gage.es ). 2007, 2008, 2011
00031 //
00032 //============================================================================
00033 
00034 
00035 
00036 #include "ProcessingClass.hpp"
00037 #include "TropModel.hpp"
00038 
00039 
00040 namespace gpstk
00041 {
00042 
00045 
00097    class ComputeTropModel : public ProcessingClass
00098    {
00099    public:
00100 
00102       ComputeTropModel()
00103          : pTropModel(NULL)
00104       { };
00105 
00106 
00116       ComputeTropModel(TropModel& tropoModel)
00117       { pTropModel = &tropoModel; };
00118 
00119 
00126       virtual satTypeValueMap& Process( const CommonTime& time,
00127                                         satTypeValueMap& gData )
00128          throw(ProcessingException);
00129 
00130 
00136       virtual gnssSatTypeValue& Process(gnssSatTypeValue& gData)
00137          throw(ProcessingException)
00138       { Process(gData.header.epoch, gData.body); return gData; };
00139 
00140 
00146       virtual gnssRinex& Process(gnssRinex& gData)
00147          throw(ProcessingException)
00148       { Process(gData.header.epoch, gData.body); return gData; };
00149 
00150 
00153       virtual TropModel *getTropModel() const
00154       { return pTropModel; };
00155 
00156 
00162       virtual ComputeTropModel& setTropModel(TropModel& tropoModel)
00163       { pTropModel = &tropoModel; return (*this); };
00164 
00165 
00167       virtual std::string getClassName(void) const;
00168 
00169 
00171       virtual ~ComputeTropModel() {};
00172 
00173 
00174    private:
00175 
00176 
00179       TropModel *pTropModel;
00180 
00181 
00182    }; // End of class 'ComputeTropModel'
00183 
00185 
00186 }  // End of namespace gpstk
00187 
00188 #endif   // GPSTK_COMPUTETROPMODEL_HPP

Generated on Tue May 21 03:31:06 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1