00001 #pragma ident "$Id: SimpleIURAWeight.hpp 2741 2011-06-22 16:37:02Z nwu $" 00002 00008 #ifndef SIMPLEIURAWEIGHT_BASE_GPSTK 00009 #define SIMPLEIURAWEIGHT_BASE_GPSTK 00010 00011 //============================================================================ 00012 // 00013 // This file is part of GPSTk, the GPS Toolkit. 00014 // 00015 // The GPSTk is free software; you can redistribute it and/or modify 00016 // it under the terms of the GNU Lesser General Public License as published 00017 // by the Free Software Foundation; either version 2.1 of the License, or 00018 // any later version. 00019 // 00020 // The GPSTk is distributed in the hope that it will be useful, 00021 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00023 // GNU Lesser General Public License for more details. 00024 // 00025 // You should have received a copy of the GNU Lesser General Public 00026 // License along with GPSTk; if not, write to the Free Software Foundation, 00027 // Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00028 // 00029 // Dagoberto Salazar - gAGE. 2006 00030 // 00031 //============================================================================ 00032 00033 00034 00035 #include "WeightBase.hpp" 00036 #include "GPSEphemerisStore.hpp" 00037 #include "TabularEphemerisStore.hpp" 00038 #include "EngEphemeris.hpp" 00039 #include "RinexObsHeader.hpp" 00040 #include "icd_200_constants.hpp" 00041 #include <vector> 00042 00043 00044 namespace gpstk 00045 { 00046 00049 00053 class SimpleIURAWeight : public WeightBase 00054 { 00055 public: 00056 00058 SimpleIURAWeight(void) { valid = false; }; 00059 00060 00074 virtual int getWeights(DayTime& time, Vector<SatID>& Satellites, GPSEphemerisStore& bcEph) throw(InvalidWeights); 00075 00076 00093 virtual int getWeights(DayTime& time, Vector<SatID>& Satellites, TabularEphemerisStore& preciseEph) throw(InvalidWeights); 00094 00095 00097 Vector<double> weightsVector; 00098 00100 Vector<SatID> availableSV; 00101 00103 Vector<SatID> rejectedSV; 00104 00106 virtual bool isValid(void) 00107 { return valid; } 00108 00109 00110 }; // end class SimpleIURAWeight 00111 00112 00114 00115 } 00116 00117 #endif
1.3.9.1