AshtechEPB.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: AshtechEPB.hpp 824 2007-10-10 14:21:58Z 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 ASHTECHEPB_HPP
00040 #define ASHTECHEPB_HPP
00041 
00047 #include "AshtechData.hpp"
00048 
00049 namespace gpstk
00050 {
00051    class AshtechEPB : public AshtechData
00052    {
00053    public:
00054       
00055       AshtechEPB() {};
00056 
00057       std::string header; // 11 characters exactly
00058 
00059       unsigned prn;
00060 
00061       // Note that an extra element is allocated so these can be
00062       // numbered as they are in the IS-GPS-200. Therefore
00063       // element 0 of each index is not used.
00064       long     word[4][11];
00065 
00066       static const char* myId;
00067 
00068       virtual std::string getName() const {return "epb";}
00069       
00070       bool checkId(std::string hdrId) const {return hdrId==myId;}
00071 
00072       void dump(std::ostream& out) const throw();
00073 
00074       virtual void decode(const std::string& data)
00075          throw(std::exception, FFStreamError);
00076 
00077    protected:
00078       virtual void reallyGetRecord(FFStream& ffs)
00079          throw(std::exception, FFStreamError, EndOfFile);
00080    };
00081 
00082 } // namespace gpstk
00083 
00084 #endif

Generated on Wed Feb 8 03:30:57 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1