00001 #pragma ident "$Id: ComputeLI.hpp 1308 2008-07-22 20:01:04Z architest $"
00002
00008 #ifndef COMPUTELI_HPP
00009 #define COMPUTELI_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 ComputeLI : public ComputeCombination
00079 {
00080 public:
00081
00083 ComputeLI();
00084
00085
00091 virtual satTypeValueMap& Process(satTypeValueMap& gData)
00092 throw(ProcessingException)
00093 { ComputeCombination::Process(gData); return gData; };
00094
00095
00097 virtual int getIndex(void) const;
00098
00099
00101 virtual std::string getClassName(void) const;
00102
00103
00105 virtual ~ComputeLI() {};
00106
00107
00108 protected:
00109
00110
00112 virtual double getCombination( const double& obs1,
00113 const double& obs2 )
00114 { return ( obs1 - obs2 ); };
00115
00116
00117 private:
00118
00119
00121 static int classIndex;
00122
00124 int index;
00125
00127 void setIndex(void)
00128 { index = classIndex++; };
00129
00130
00131 };
00132
00134
00135 }
00136 #endif // COMPUTELI_HPP