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;
83 typedef std::vector<FGRunwayRef> FGRunwayList;
84 typedef std::map<std::string, FGRunwayRef> FGRunwayMap;
85 typedef std::map<std::string, FGHelipadRef> FGHelipadMap;
87 typedef std::vector<FGTaxiwayRef> FGTaxiwayList;
88 typedef std::vector<FGPavementRef> FGPavementList;
89 typedef std::vector<FGParkingRef> FGParkingList;
91 typedef std::vector<FGTaxiSegment*> FGTaxiSegmentVector;
92 typedef FGTaxiSegmentVector::iterator FGTaxiSegmentVectorIterator;
94 typedef SGSharedPtr<FGTaxiNode> FGTaxiNodeRef;
95 typedef std::vector<FGTaxiNodeRef> FGTaxiNodeVector;
96 typedef FGTaxiNodeVector::iterator FGTaxiNodeVectorIterator;
97 typedef std::map<int, FGTaxiNodeRef> IndexTaxiNodeMap;
99 typedef std::vector<Block> BlockList;
100 typedef BlockList::iterator BlockListIterator;
102 typedef std::vector<time_t> TimeVector;
103 typedef std::vector<time_t>::iterator TimeVectorIterator;
105 typedef std::vector<FGTaxiRoute> TaxiRouteVector;
106 typedef std::vector<FGTaxiRoute>::iterator TaxiRouteVectorIterator;
108 typedef std::vector<RunwayList> RunwayListVec;
109 typedef std::vector<RunwayList>::iterator RunwayListVectorIterator;
110 typedef std::vector<RunwayList>::const_iterator RunwayListVecConstIterator;
112 typedef std::vector<RunwayGroup> PreferenceList;
113 typedef std::vector<RunwayGroup>::iterator PreferenceListIterator;
114 typedef std::vector<RunwayGroup>::const_iterator PreferenceListConstIterator;
116 #endif /* AIRPORTS_FWD_HXX_ */