YumaData.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: YumaData.hpp 2467 2010-09-14 15:42:49Z snelsen $"
00002 
00003 //============================================================================
00004 //
00005 //  This file is part of GPSTk, the GPS Toolkit.
00006 //
00007 //  The GPSTk is free software; you can redistribute it and/or modify
00008 //  it under the terms of the GNU Lesser General Public License as published
00009 //  by the Free Software Foundation; either version 2.1 of the License, or
00010 //  any later version.
00011 //
00012 //  The GPSTk is distributed in the hope that it will be useful,
00013 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 //  GNU Lesser General Public License for more details.
00016 //
00017 //  You should have received a copy of the GNU Lesser General Public
00018 //  License along with GPSTk; if not, write to the Free Software Foundation,
00019 //  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020 //  
00021 //  Copyright 2004, The University of Texas at Austin
00022 //
00023 //============================================================================
00024 
00030 #ifndef YUMADATA_HPP
00031 #define YUMADATA_HPP
00032 
00033 #include <vector>
00034 #include <list>
00035 #include <map>
00036 
00037 #include "FFStream.hpp"
00038 #include "AlmOrbit.hpp"
00039 #include "YumaBase.hpp"
00040 #include "YumaHeader.hpp"
00041 #include "StringUtils.hpp"
00042 
00043 namespace gpstk
00044 {
00047 
00055    class YumaData : public YumaBase
00056    {
00057    public:
00059       YumaData() {}
00060 
00062       virtual ~YumaData() {}
00063       
00068       static short nearFullWeek;
00069 
00070       static const std::string sID;     // ID label string
00071       static const std::string sHlth;   // Satellite Health string
00072       static const std::string sEcc;    // Eccentricity string
00073       static const std::string sTOA;
00074       static const std::string sOrbI;
00075       static const std::string sRRA;
00076       static const std::string sSqrA;
00077       static const std::string sRtAs;
00078       static const std::string sArgP;
00079       static const std::string sMnAn;
00080       static const std::string sAf0;
00081       static const std::string sAf1;
00082       static const std::string sweek; 
00083       
00084       
00085       short PRN;
00086       short week;
00087       short SV_health;
00088       double ecc;
00089       long Toa;
00090       double i_offset;
00091       double OMEGAdot;
00092       double Ahalf;
00093       double OMEGA0;
00094       double w;
00095       double M0;
00096       double AF0;
00097       double AF1;
00098       long xmit_time;
00099       
00100       
00106       virtual void dump(std::ostream& s) const;
00107       
00109       virtual bool isData() const {return true;}
00110 
00115       operator AlmOrbit() const;
00116       
00117       
00118 
00119    protected:      
00123       void reallyPutRecord(FFStream& s) const 
00124          throw(std::exception, FFStreamError, 
00125                gpstk::StringUtils::StringException);  
00126   
00137       virtual void reallyGetRecord(FFStream& s) 
00138          throw(std::exception, FFStreamError, 
00139                gpstk::StringUtils::StringException);
00140 
00141       std::string lineParser(const std::string& line, const std::string& s)
00142          const throw(FFStreamError);
00143       
00144    }; // class YumaData
00145 
00147 
00148 } // namespace
00149 
00150 #endif

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