00001 #pragma ident "$Id: $" 00002 00010 #ifndef GPSTK_COMPUTESIMPLEWEIGHTS_HPP 00011 #define GPSTK_COMPUTESIMPLEWEIGHTS_HPP 00012 00013 //============================================================================ 00014 // 00015 // This file is part of GPSTk, the GPS Toolkit. 00016 // 00017 // The GPSTk is free software; you can redistribute it and/or modify 00018 // it under the terms of the GNU Lesser General Public License as published 00019 // by the Free Software Foundation; either version 2.1 of the License, or 00020 // any later version. 00021 // 00022 // The GPSTk is distributed in the hope that it will be useful, 00023 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00024 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00025 // GNU Lesser General Public License for more details. 00026 // 00027 // You should have received a copy of the GNU Lesser General Public 00028 // License along with GPSTk; if not, write to the Free Software Foundation, 00029 // Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00030 // 00031 // Dagoberto Salazar - gAGE ( http://www.gage.es ). 2011 00032 // 00033 //============================================================================ 00034 00035 00036 00037 #include "DataStructures.hpp" 00038 #include "ProcessingClass.hpp" 00039 #include "TropModel.hpp" 00040 #include "geometry.hpp" // DEG_TO_RAD 00041 00042 00043 namespace gpstk 00044 { 00045 00048 00049 00085 class ComputeSimpleWeights: public ProcessingClass 00086 { 00087 public: 00088 00090 ComputeSimpleWeights() 00091 { setIndex(); }; 00092 00093 00100 virtual satTypeValueMap& Process( const DayTime& time, 00101 satTypeValueMap& gData ) 00102 throw(ProcessingException); 00103 00104 00110 virtual gnssSatTypeValue& Process(gnssSatTypeValue& gData) 00111 throw(ProcessingException); 00112 00113 00119 virtual gnssRinex& Process(gnssRinex& gData) 00120 throw(ProcessingException); 00121 00122 00124 virtual int getIndex(void) const; 00125 00126 00128 virtual std::string getClassName(void) const; 00129 00130 00132 virtual ~ComputeSimpleWeights() {}; 00133 00134 00135 private: 00136 00137 00139 Position nominalPos; 00140 00142 static int classIndex; 00143 00145 int index; 00146 00148 void setIndex(void) 00149 { index = classIndex++; }; 00150 00151 00152 }; // End of class 'ComputeSimpleWeights' 00153 00155 00156 } // End of namespace gpstk 00157 00158 #endif // GPSTK_COMPUTESIMPLEWEIGHTS_HPP
1.3.9.1