00001 #pragma ident "$Id: SEMData.hpp 383 2007-01-30 16:23:29Z ehagen $" 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 SEMDATA_HPP 00031 #define SEMDATA_HPP 00032 00033 #include <vector> 00034 #include <list> 00035 #include <map> 00036 00037 #include "FFStream.hpp" 00038 #include "AlmOrbit.hpp" 00039 #include "SEMBase.hpp" 00040 #include "StringUtils.hpp" 00041 #include "SEMHeader.hpp" 00042 00043 namespace gpstk 00044 { 00047 00058 class SEMData : public SEMBase 00059 { 00060 public: 00061 00063 SEMData() {} 00064 00066 virtual ~SEMData() {} 00067 00068 00069 short PRN; 00070 short SVNnum; 00071 short URAnum; 00072 double ecc; 00073 double i_offset; 00074 double OMEGAdot; 00075 double Ahalf; 00076 double OMEGA0; 00077 double w; 00078 double M0; 00079 double AF0; 00080 double AF1; 00081 short SV_health; 00082 short satConfig; 00083 00084 long xmit_time; 00085 00086 long Toa; 00087 short week; 00088 00094 virtual void dump(std::ostream& s) const; 00095 00097 virtual bool isData() const {return true;} 00098 00103 operator AlmOrbit() const; 00104 00105 00106 protected: 00107 00111 virtual void reallyPutRecord(FFStream& s) const 00112 throw(std::exception, FFStreamError, 00113 gpstk::StringUtils::StringException); 00114 00125 virtual void reallyGetRecord(FFStream& s) 00126 throw(std::exception, FFStreamError, 00127 gpstk::StringUtils::StringException); 00128 00129 }; // class SEMData 00130 00132 00133 } // namespace 00134 00135 #endif
1.3.9.1