00001 #pragma ident "$Id: MDPPVTSolution.hpp 647 2007-06-25 03:34:09Z ocibu $" 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 00025 //============================================================================ 00026 // 00027 //This software developed by Applied Research Laboratories at the University of 00028 //Texas at Austin, under contract to an agency or agencies within the U.S. 00029 //Department of Defense. The U.S. Government retains all rights to use, 00030 //duplicate, distribute, disclose, or release this software. 00031 // 00032 //Pursuant to DoD Directive 523024 00033 // 00034 // DISTRIBUTION STATEMENT A: This software has been approved for public 00035 // release, distribution is unlimited. 00036 // 00037 //============================================================================= 00038 00039 #ifndef MDPPVTSOLUTION_HPP 00040 #define MDPPVTSOLUTION_HPP 00041 00042 #include "Xvt.hpp" 00043 00044 #include "MDPHeader.hpp" 00045 00046 namespace gpstk 00047 { 00049 class MDPPVTSolution : public MDPHeader 00050 { 00051 public: 00052 MDPPVTSolution() throw(); 00053 00057 virtual std::string encode() const 00058 throw(); 00059 00064 virtual void decode(std::string str) 00065 throw(); 00066 00067 virtual std::string getName() const {return "pvt";}; 00068 00072 void dump(std::ostream& out) const throw(); 00073 00074 gpstk::ECEF x; 00075 gpstk::Triple v; 00076 double dtime; 00077 double ddtime; 00078 gpstk::DayTime timep; 00079 unsigned char numSVs; 00080 unsigned char fom; 00081 unsigned char pvtMode; 00082 unsigned char corrections; 00083 00084 static const unsigned myLength = 66; 00085 static const unsigned myId = 301; 00086 00087 }; // class MDPPVTSolution 00088 00089 } // namespace gpstk 00090 00091 #endif //MDPPVTSOLUTION_HPP
1.3.9.1