]> git.mxchange.org Git - flightgear.git/blob - src/Airports/airports_fwd.hxx
httpd: provide more airport information in geojson
[flightgear.git] / src / Airports / airports_fwd.hxx
1 // Airports forward declarations
2 //
3 // Copyright (C) 2013  Thomas Geymayer <tomgey@gmail.com>
4 //
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.
9 //
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.
14 //
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.
18
19 #ifndef AIRPORTS_FWD_HXX_
20 #define AIRPORTS_FWD_HXX_
21
22 #include <simgear/structure/SGSharedPtr.hxx>
23
24 #include <list>
25 #include <map>
26 #include <vector>
27 #include <string>
28
29 // forward decls
30 class FGAirport;
31 class FGAirportDynamics;
32 class FGRunwayBase;
33 class FGRunway;
34 class FGHelipad;
35 class FGTaxiway;
36 class FGPavement;
37
38 class FGNavRecord;
39
40 class Block;
41 class FGTaxiNode;
42 class FGParking;
43 class FGTaxiSegment;
44 class FGTaxiRoute;
45 class FGGroundNetwork;
46
47 class RunwayList;
48 class RunwayGroup;
49 class FGRunwayPreference;
50
51 class FGSidStar;
52
53 class SGPropertyNode;
54
55 namespace flightgear {
56   class SID;
57   class STAR;
58   class Approach;
59   class Waypt;
60   class CommStation;
61
62   typedef std::vector<flightgear::SID*> SIDList;
63   typedef std::vector<STAR*> STARList;
64   typedef std::vector<Approach*> ApproachList;
65
66   typedef SGSharedPtr<Waypt> WayptRef;
67   typedef std::vector<WayptRef> WayptVec;
68
69   typedef SGSharedPtr<CommStation> CommStationRef;
70   typedef std::vector<CommStationRef> CommStationList;
71   typedef std::map<std::string, FGAirport*> AirportCache;
72 }
73
74 typedef SGSharedPtr<FGAirport> FGAirportRef;
75 typedef SGSharedPtr<FGRunwayBase> FGRunwayBaseRef;
76 typedef SGSharedPtr<FGRunway> FGRunwayRef;
77 typedef SGSharedPtr<FGHelipad> FGHelipadRef;
78 typedef SGSharedPtr<FGTaxiway> FGTaxiwayRef;
79 typedef SGSharedPtr<FGPavement> FGPavementRef;
80 typedef SGSharedPtr<FGParking> FGParkingRef;
81
82 typedef std::vector<FGRunwayRef> FGRunwayList;
83 typedef std::map<std::string, FGRunwayRef> FGRunwayMap;
84 typedef std::map<std::string, FGHelipadRef> FGHelipadMap;
85
86 typedef std::vector<FGTaxiwayRef> FGTaxiwayList;
87 typedef std::vector<FGPavementRef> FGPavementList;
88 typedef std::vector<FGParkingRef> FGParkingList;
89
90 typedef std::vector<FGTaxiSegment*>  FGTaxiSegmentVector;
91 typedef FGTaxiSegmentVector::iterator FGTaxiSegmentVectorIterator;
92
93 typedef SGSharedPtr<FGTaxiNode> FGTaxiNodeRef;
94 typedef std::vector<FGTaxiNodeRef> FGTaxiNodeVector;
95 typedef FGTaxiNodeVector::iterator FGTaxiNodeVectorIterator;
96 typedef std::map<int, FGTaxiNodeRef> IndexTaxiNodeMap;
97
98 typedef std::vector<Block> BlockList;
99 typedef BlockList::iterator BlockListIterator;
100
101 typedef std::vector<time_t> TimeVector;
102 typedef std::vector<time_t>::iterator TimeVectorIterator;
103
104 typedef std::vector<FGTaxiRoute> TaxiRouteVector;
105 typedef std::vector<FGTaxiRoute>::iterator TaxiRouteVectorIterator;
106
107 typedef std::vector<RunwayList> RunwayListVec;
108 typedef std::vector<RunwayList>::iterator RunwayListVectorIterator;
109 typedef std::vector<RunwayList>::const_iterator RunwayListVecConstIterator;
110
111 typedef std::vector<RunwayGroup> PreferenceList;
112 typedef std::vector<RunwayGroup>::iterator PreferenceListIterator;
113 typedef std::vector<RunwayGroup>::const_iterator PreferenceListConstIterator;
114
115 #endif /* AIRPORTS_FWD_HXX_ */