ObsEphReaderFramework.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: ObsEphReaderFramework.hpp 3140 2012-06-18 15:03:02Z susancummins $"
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
00020 //  
00021 //  Copyright 2004, The University of Texas at Austin
00022 //
00023 //============================================================================
00024 
00025 #ifndef GPSTK_OBSEPHREADERFRAMEWORK_HPP
00026 #define GPSTK_OBSEPHREADERFRAMEWORK_HPP
00027 
00032 #include <fstream>
00033 #include <string>
00034 
00035 #include "CommandOptionParser.hpp"
00036 #include "ObsReader.hpp"
00037 #include "EphReader.hpp"
00038 #include "Position.hpp"
00039 
00040 namespace gpstk
00041 {
00042    // This object is intened to be created in place of a CommandOptionParser
00043    class ObsEphReaderFramework
00044    {
00045    public:
00046       
00047       ObsEphReaderFramework(const std::string& applDesc)
00048          throw()
00049          : debugLevel(0), verboseLevel(0), appDesc(applDesc)
00050       {}
00051 
00052       bool initialize(int argc, char *argv[]) throw();
00053 
00054       int debugLevel;          
00055       int verboseLevel;        
00056       std::string appDesc;     
00057       std::string outputFn;    
00058       std::ofstream output;    
00059 
00060       Position rxPos;
00061       std::string msid;
00062 
00063       std::vector<std::string> obsFiles;
00064       std::vector<std::string> ephFiles;
00065 
00066       EphReader ephReader;
00067       
00068    private:
00069       // Do not allow the use of the default constructor.
00070       ObsEphReaderFramework();
00071    };
00072 
00073 } // namespace gpstk
00074 
00075 #endif

Generated on Tue May 21 03:31:11 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1