00001 #pragma ident "$Id: ComputeLC.hpp 3140 2012-06-18 15:03:02Z susancummins $"
00002
00008 #ifndef GPSTK_COMPUTELC_HPP
00009 #define GPSTK_COMPUTELC_HPP
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 #include "ComputeCombination.hpp"
00036
00037
00038 namespace gpstk
00039 {
00040
00043
00044
00078 class ComputeLC : public ComputeCombination
00079 {
00080 public:
00081
00083 ComputeLC();
00084
00085
00091 virtual satTypeValueMap& Process(satTypeValueMap& gData)
00092 throw(ProcessingException)
00093 { ComputeCombination::Process(gData); return gData; };
00094
00095
00097 virtual std::string getClassName(void) const;
00098
00099
00101 virtual ~ComputeLC() {};
00102
00103
00104 protected:
00105
00106
00108 virtual double getCombination( const double& obs1,
00109 const double& obs2 )
00110 { return ( (GAMMA_GPS*obs1 - obs2)/(DEN) ); };
00111
00112
00113 private:
00114
00115
00116 const double DEN;
00117
00118
00119 };
00120
00122
00123 }
00124
00125 #endif // GPSTK_COMPUTELC_HPP