ConvertC1ToP1.hpp

Go to the documentation of this file.
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 //  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 //  Wei Yan - Chinese Academy of Sciences . 2009, 2010, 2011
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          // Default deconstructor
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    }; // End of class 'ConvertC1ToP1'
00142    
00144 
00145 }  // End of namespace gpstk
00146 
00147 #endif   // GPSTK_CONVERTC1TOP1_HPP
00148 
00149 
00150 

Generated on Tue May 22 03:30:57 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1