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>
31 class FGAirportDynamics;
44 class FGGroundNetwork;
48 class FGRunwayPreference;
54 namespace flightgear {
61 typedef std::vector<flightgear::SID*> SIDList;
62 typedef std::vector<STAR*> STARList;
63 typedef std::vector<Approach*> ApproachList;
65 typedef SGSharedPtr<Waypt> WayptRef;
66 typedef std::vector<WayptRef> WayptVec;
68 typedef SGSharedPtr<CommStation> CommStationRef;
69 typedef std::vector<CommStation*> CommStationList;
70 typedef std::map<std::string, FGAirport*> AirportCache;
73 typedef SGSharedPtr<FGAirport> FGAirportRef;
74 typedef SGSharedPtr<FGRunway> FGRunwayRef;
75 typedef SGSharedPtr<FGParking> FGParkingRef;
77 typedef std::vector<FGRunway*> FGRunwayList;
78 typedef std::map<std::string, FGRunway*> FGRunwayMap;
79 typedef std::map<std::string, FGHelipad*> FGHelipadMap;
81 typedef std::vector<FGTaxiway*> FGTaxiwayList;
82 typedef std::vector<FGPavement*> FGPavementList;
83 typedef std::vector<FGParking*> FGParkingList;
85 typedef std::vector<FGTaxiSegment*> FGTaxiSegmentVector;
86 typedef FGTaxiSegmentVector::iterator FGTaxiSegmentVectorIterator;
88 typedef SGSharedPtr<FGTaxiNode> FGTaxiNodeRef;
89 typedef std::vector<FGTaxiNodeRef> FGTaxiNodeVector;
90 typedef FGTaxiNodeVector::iterator FGTaxiNodeVectorIterator;
91 typedef std::map<int, FGTaxiNodeRef> IndexTaxiNodeMap;
93 typedef std::vector<Block> BlockList;
94 typedef BlockList::iterator BlockListIterator;
96 typedef std::vector<time_t> TimeVector;
97 typedef std::vector<time_t>::iterator TimeVectorIterator;
99 typedef std::vector<FGTaxiRoute> TaxiRouteVector;
100 typedef std::vector<FGTaxiRoute>::iterator TaxiRouteVectorIterator;
102 typedef std::vector<RunwayList> RunwayListVec;
103 typedef std::vector<RunwayList>::iterator RunwayListVectorIterator;
104 typedef std::vector<RunwayList>::const_iterator RunwayListVecConstIterator;
106 typedef std::vector<RunwayGroup> PreferenceList;
107 typedef std::vector<RunwayGroup>::iterator PreferenceListIterator;
108 typedef std::vector<RunwayGroup>::const_iterator PreferenceListConstIterator;
110 #endif /* AIRPORTS_FWD_HXX_ */