ComputeLdelta.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: ComputeLdelta.hpp 3140 2012-06-18 15:03:02Z susancummins $"
00002 
00008 #ifndef GPSTK_COMPUTELDELTA_HPP
00009 #define GPSTK_COMPUTELDELTA_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 ). 2007, 2008, 2011
00030 //
00031 //============================================================================
00032 
00033 
00034 
00035 #include "ComputeCombination.hpp"
00036 
00037 
00038 namespace gpstk
00039 {
00040 
00043 
00044 
00080    class ComputeLdelta : public ComputeCombination
00081    {
00082    public:
00083 
00085       ComputeLdelta();
00086 
00087 
00093       virtual satTypeValueMap& Process(satTypeValueMap& gData)
00094          throw(ProcessingException)
00095       { ComputeCombination::Process(gData); return gData; };
00096 
00097 
00099       virtual std::string getClassName(void) const;
00100 
00101 
00103       virtual ~ComputeLdelta() {};
00104 
00105 
00106    protected:
00107 
00108 
00110         virtual double getCombination( const double& obs1,
00111                                        const double& obs2 )
00112         { return ( ( L1_FREQ_GPS*obs1 - L2_FREQ_GPS*obs2 ) / ( DEN ) ); };
00113 
00114 
00115    private:
00116 
00117 
00118       const double DEN;       // DEN = L1_FREQ - L2_FREQ
00119 
00120 
00121    }; // End of class 'ComputeLdelta'
00122 
00124 
00125 }  // End of namespace gpstk
00126 
00127 #endif   // GPSTK_COMPUTELDELTA_HPP

Generated on Thu May 23 03:31:05 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1