00001 #pragma ident "$Id: ConvertC1ToP1.hpp 2514 2011-02-21 08:29:23Z yanweignss $"
00002
00008 #ifndef GPSTK_CONVERTC1TOP1_HPP
00009 #define GPSTK_CONVERTC1TOP1_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 #include "ProcessingClass.hpp"
00034 #include "DCBDataReader.hpp"
00035 #include <string>
00036
00037 namespace gpstk
00038 {
00041
00074 class ConvertC1ToP1 : public ProcessingClass
00075 {
00076 public:
00078 ConvertC1ToP1(){}
00079
00080
00081 ~ConvertC1ToP1(){}
00082
00086 virtual ConvertC1ToP1& setDCBFile(const string& fileP1C1);
00087
00094 virtual satTypeValueMap& Process( const DayTime& time,
00095 satTypeValueMap& gData )
00096 throw(ProcessingException);
00097
00098
00104 virtual gnssSatTypeValue& Process(gnssSatTypeValue& gData)
00105 throw(ProcessingException)
00106 { Process(gData.header.epoch, gData.body); return gData; };
00107
00108
00114 virtual gnssRinex& Process(gnssRinex& gData)
00115 throw(ProcessingException)
00116 { Process(gData.header.epoch, gData.body); return gData; };
00117
00118
00120 virtual int getIndex() const;
00121
00122
00124 virtual std::string getClassName() const;
00125
00126 protected:
00128 DCBDataReader dcbP1C1;
00129
00130 private:
00132 static int classIndex;
00133
00135 int index;
00136
00138 void setIndex(void)
00139 { index = classIndex++; };
00140
00141 };
00142
00144
00145 }
00146
00147 #endif // GPSTK_CONVERTC1TOP1_HPP
00148
00149
00150