00001 /* 00002 * FlightPlan.h 00003 * Copyright (C) Eduardo Wiputra 2009 <ewiputra@users.sourceforge.net> 00004 * 00005 * FlightPlan.h is free software: you can redistribute it and/or modify it 00006 * under the terms of the GNU General Public License as published by the 00007 * Free Software Foundation, either version 3 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * FlightPlan.h is distributed in the hope that it will be useful, but 00011 * WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00013 * See the GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License along 00016 * with this program. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 00019 #ifndef FlightPlan_H 00020 #define FlightPlan_H 00021 00022 #include <string> 00023 #include <fstream> 00024 #include <vector> 00025 #include "uvsim/guidance/GeoCoord.h" 00026 00027 namespace uvsim 00028 { 00034 class FlightPlan : public std::vector<GeoCoord> 00035 { 00036 public: 00040 FlightPlan(); 00044 ~FlightPlan(); 00051 friend std::ostream& operator<< (std::ostream &out, FlightPlan &flightPlan); 00056 void open (std::string file_name); 00061 void save (std::string file_name); 00065 void display(); 00066 }; 00067 00068 } 00069 00070 #endif 00071 00072 // vim:ts=2:sw=2