ComputeMelbourneWubbena.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: ComputeMelbourneWubbena.hpp 1308 2008-07-22 20:01:04Z architest $"
00002 
00009 #ifndef COMPUTEMELBOURNEWUBBENA_HPP
00010 #define COMPUTEMELBOURNEWUBBENA_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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00029 //
00030 //  Dagoberto Salazar - gAGE ( http://www.gage.es ). 2007, 2008
00031 //
00032 //============================================================================
00033 
00034 
00035 
00036 #include "ComputeCombination.hpp"
00037 
00038 
00039 namespace gpstk
00040 {
00041 
00044 
00045 
00084    class ComputeMelbourneWubbena : public ComputeCombination
00085    {
00086    public:
00087 
00089       ComputeMelbourneWubbena();
00090 
00091 
00097       virtual satTypeValueMap& Process(satTypeValueMap& gData)
00098          throw(ProcessingException);
00099 
00100 
00103       virtual ComputeMelbourneWubbena& useC1(void)
00104       { type1 = TypeID::C1; return (*this); };
00105 
00106 
00108       virtual int getIndex(void) const;
00109 
00110 
00112       virtual std::string getClassName(void) const;
00113 
00114 
00116       virtual ~ComputeMelbourneWubbena() {};
00117 
00118 
00119     protected:
00120 
00121 
00123       virtual double getCombination( const double& p1,
00124                                      const double& p2,
00125                                      const double& l1,
00126                                      const double& l2 );
00127 
00128 
00130       virtual double getCombination( const double& obs1,
00131                                      const double& obs2 )
00132       { return 0.0; };
00133 
00134 
00135     private:
00136 
00137 
00139       TypeID type3;
00140 
00141 
00143       TypeID type4;
00144 
00145 
00146       const double DEN1;      // DEN1 = L1_FREQ + L2_FREQ
00147       const double DEN2;      // DEN2 = L1_FREQ - L2_FREQ
00148 
00149 
00151       static int classIndex;
00152 
00153 
00155       int index;
00156 
00158       void setIndex(void)
00159       { index = classIndex++; };
00160 
00161 
00162    }; // End of class 'ComputeMelbourneWubbena'
00163 
00165 
00166 }
00167 #endif   // COMPUTEMELBOURNEWUBBENA_HPP

Generated on Tue May 22 03:30:56 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1