1 // sidstar.hxx - a class to store and maintain data for SID and STAR
3 // Written by Durk Talsma, started March 2009.
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License as
8 // published by the Free Software Foundation; either version 2 of the
9 // License, or (at your option) any later version.
11 // This program is distributed in the hope that it will be useful, but
12 // WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 #include "airports_fwd.hxx"
27 #include <ATC/trafficcontrol.hxx>
29 #include <simgear/misc/sg_path.hxx>
30 #include <simgear/xml/easyxml.hxx>
37 FlightPlanVecMap data;
40 FGSidStar(FGAirport *ap);
41 FGSidStar(const FGSidStar &other);
43 std::string getId() { return id; };
44 void load(SGPath path);
45 FGAIFlightPlan *getBest(std::string activeRunway, double heading);