00001 #pragma ident "$Id: SEMAlmanacStore.hpp 1039 2008-01-17 14:56:13Z renfroba $" 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 //This software developed by Applied Research Laboratories at the University of 00027 //Texas at Austin, under contract to an agency or agencies within the U.S. 00028 //Department of Defense. The U.S. Government retains all rights to use, 00029 //duplicate, distribute, disclose, or release this software. 00030 // 00031 //Pursuant to DoD Directive 523024 00032 // 00033 // DISTRIBUTION STATEMENT A: This software has been approved for public 00034 // release, distribution is unlimited. 00035 // 00036 //============================================================================= 00037 00043 #ifndef SEMALMANACSTORE_HPP 00044 #define SEMALMANACSTORE_HPP 00045 00046 #include "GPSAlmanacStore.hpp" 00047 #include "FileStore.hpp" 00048 #include "SEMData.hpp" 00049 #include "SEMStream.hpp" 00050 00051 namespace gpstk 00052 { 00055 00056 class SEMAlmanacStore : public FileStore<SEMHeader>, 00057 public GPSAlmanacStore 00058 { 00059 public: 00060 SEMAlmanacStore(const gpstk::DayTime& dtInterest= 00061 gpstk::DayTime::BEGINNING_OF_TIME) 00062 { 00063 timeOfInterest = dtInterest; 00064 } 00065 00066 void loadFile(const std::string& filename) 00067 throw(FileMissingException); 00068 00069 gpstk::DayTime timeOfInterest; 00070 }; 00072 } 00073 00074 #endif
1.3.9.1