GravitationalDelay.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: GravitationalDelay.hpp 3140 2012-06-18 15:03:02Z susancummins $"
00002 
00008 #ifndef GPSTK_GRAVITATIONALDELAY_HPP
00009 #define GPSTK_GRAVITATIONALDELAY_HPP
00010 
00011 //============================================================================
00012 //
00013 //  This file is part of GPSTk, the GPS Toolkit.
00014 //
00015 //  The GPSTk is free software; you can redistribute it and/or modify
00016 //  it under the terms of the GNU Lesser General Public License as published
00017 //  by the Free Software Foundation; either version 2.1 of the License, or
00018 //  any later version.
00019 //
00020 //  The GPSTk is distributed in the hope that it will be useful,
00021 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00022 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00023 //  GNU Lesser General Public License for more details.
00024 //
00025 //  You should have received a copy of the GNU Lesser General Public
00026 //  License along with GPSTk; if not, write to the Free Software Foundation,
00027 //  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
00028 //
00029 //  Dagoberto Salazar - gAGE ( http://www.gage.es ). 2008, 2011
00030 //
00031 //============================================================================
00032 
00033 
00034 
00035 #include <math.h>
00036 #include "Position.hpp"
00037 #include "ProcessingClass.hpp"
00038 
00039 
00040 
00041 namespace gpstk
00042 {
00043 
00046 
00047 
00105    class GravitationalDelay : public ProcessingClass
00106    {
00107       public:
00108 
00110       GravitationalDelay() : nominalPos(0.0, 0.0, 0.0)
00111       { };
00112 
00113 
00118       GravitationalDelay(const Position& stapos) : nominalPos(stapos)
00119       { };
00120 
00121 
00128       virtual satTypeValueMap& Process( const CommonTime& epoch,
00129                                         satTypeValueMap& gData )
00130          throw(ProcessingException);
00131 
00132 
00138       virtual gnssSatTypeValue& Process(gnssSatTypeValue& gData)
00139          throw(ProcessingException)
00140       { Process(gData.header.epoch, gData.body); return gData; };
00141 
00142 
00148       virtual gnssRinex& Process(gnssRinex& gData)
00149          throw(ProcessingException);
00150 
00151 
00153       virtual Position getNominalPosition(void) const
00154       { return nominalPos; };
00155 
00156 
00160       virtual GravitationalDelay& setNominalPosition(const Position& stapos)
00161         { nominalPos = stapos; return (*this); };
00162 
00163 
00165       virtual std::string getClassName(void) const;
00166 
00167 
00169       virtual ~GravitationalDelay() {};
00170 
00171 
00172    private:
00173 
00174 
00176       Position nominalPos;
00177 
00178 
00179    }; // End of class 'GravitationalDelay'
00180 
00182 
00183 }  // End of namespace gpstk
00184 
00185 #endif   // GPSTK_GRAVITATIONALDELAY_HPP

Generated on Wed May 22 03:31:08 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1