1 // Airports forward declarations
3 // Copyright (C) 2013 Thomas Geymayer <tomgey@gmail.com>
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License as
7 // published by the Free Software Foundation; either version 2 of the
8 // License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful, but
11 // WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 #ifndef AIRPORTS_FWD_HXX_
20 #define AIRPORTS_FWD_HXX_
22 #include <simgear/structure/SGSharedPtr.hxx>
28 #include <ctime> // for time_t
32 class FGAirportDynamics;
46 class FGGroundNetwork;
50 class FGRunwayPreference;
56 namespace flightgear {
63 typedef std::vector<flightgear::SID*> SIDList;
64 typedef std::vector<STAR*> STARList;
65 typedef std::vector<Approach*> ApproachList;
67 typedef SGSharedPtr<Waypt> WayptRef;
68 typedef std::vector<WayptRef> WayptVec;
70 typedef SGSharedPtr<CommStation> CommStationRef;
71 typedef std::vector<CommStationRef> CommStationList;
72 typedef std::map<std::string, FGAirport*> AirportCache;
75 typedef SGSharedPtr<FGAirport> FGAirportRef;
76 typedef SGSharedPtr<FGRunwayBase> FGRunwayBaseRef;
77 typedef SGSharedPtr<FGRunway> FGRunwayRef;
78 typedef SGSharedPtr<FGHelipad> FGHelipadRef;
79 typedef SGSharedPtr<FGTaxiway> FGTaxiwayRef;
80 typedef SGSharedPtr<FGPavement> FGPavementRef;
81 typedef SGSharedPtr<FGParking> FGParkingRef;
82 typedef SGSharedPtr<FGAirportDynamics> FGAirportDynamicsRef;
84 typedef std::vector<FGRunwayRef> FGRunwayList;
85 typedef std::map<std::string, FGRunwayRef> FGRunwayMap;
86 typedef std::map<std::string, FGHelipadRef> FGHelipadMap;
88 typedef std::vector<FGTaxiwayRef> FGTaxiwayList;
89 typedef std::vector<FGPavementRef> FGPavementList;
90 typedef std::vector<FGParkingRef> FGParkingList;
92 typedef std::vector<FGTaxiSegment*> FGTaxiSegmentVector;
93 typedef FGTaxiSegmentVector::iterator FGTaxiSegmentVectorIterator;
95 typedef SGSharedPtr<FGTaxiNode> FGTaxiNodeRef;
96 typedef std::vector<FGTaxiNodeRef> FGTaxiNodeVector;
97 typedef FGTaxiNodeVector::iterator FGTaxiNodeVectorIterator;
98 typedef std::map<int, FGTaxiNodeRef> IndexTaxiNodeMap;
100 typedef std::vector<Block> BlockList;
101 typedef BlockList::iterator BlockListIterator;
103 typedef std::vector<time_t> TimeVector;
104 typedef std::vector<time_t>::iterator TimeVectorIterator;
106 typedef std::vector<FGTaxiRoute> TaxiRouteVector;
107 typedef std::vector<FGTaxiRoute>::iterator TaxiRouteVectorIterator;
109 typedef std::vector<RunwayList> RunwayListVec;
110 typedef std::vector<RunwayList>::iterator RunwayListVectorIterator;
111 typedef std::vector<RunwayList>::const_iterator RunwayListVecConstIterator;
113 typedef std::vector<RunwayGroup> PreferenceList;
114 typedef std::vector<RunwayGroup>::iterator PreferenceListIterator;
115 typedef std::vector<RunwayGroup>::const_iterator PreferenceListConstIterator;
117 #endif /* AIRPORTS_FWD_HXX_ */