00001 #pragma ident "$Id: ComputeLdelta.hpp 1308 2008-07-22 20:01:04Z architest $"
00002
00008 #ifndef COMPUTELDELTA_HPP
00009 #define COMPUTELDELTA_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
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 int getIndex(void) const;
00100
00101
00103 virtual std::string getClassName(void) const;
00104
00105
00107 virtual ~ComputeLdelta() {};
00108
00109
00110 protected:
00111
00112
00114 virtual double getCombination( const double& obs1,
00115 const double& obs2 )
00116 { return ( ( L1_FREQ*obs1 - L2_FREQ*obs2 ) / ( DEN ) ); };
00117
00118
00119 private:
00120
00121
00122 const double DEN;
00123
00124
00126 static int classIndex;
00127
00129 int index;
00130
00132 void setIndex(void)
00133 { index = classIndex++; };
00134
00135
00136 };
00137
00139
00140 }
00141 #endif // COMPUTELDELTA_HPP