2013-03-06 01:03:47 +01:00
|
|
|
// Airports forward declarations
|
|
|
|
//
|
|
|
|
// Copyright (C) 2013 Thomas Geymayer <tomgey@gmail.com>
|
|
|
|
//
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License as
|
|
|
|
// published by the Free Software Foundation; either version 2 of the
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful, but
|
|
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
// General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program; if not, write to the Free Software
|
|
|
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2013-03-04 16:31:37 +01:00
|
|
|
|
|
|
|
#ifndef AIRPORTS_FWD_HXX_
|
|
|
|
#define AIRPORTS_FWD_HXX_
|
|
|
|
|
|
|
|
#include <simgear/structure/SGSharedPtr.hxx>
|
|
|
|
|
|
|
|
#include <list>
|
|
|
|
#include <map>
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
2014-04-04 15:33:27 +01:00
|
|
|
#include <ctime> // for time_t
|
2013-03-04 16:31:37 +01:00
|
|
|
|
|
|
|
// forward decls
|
|
|
|
class FGAirport;
|
|
|
|
class FGAirportDynamics;
|
2013-03-06 23:21:29 +01:00
|
|
|
class FGRunwayBase;
|
2013-03-04 16:31:37 +01:00
|
|
|
class FGRunway;
|
|
|
|
class FGHelipad;
|
|
|
|
class FGTaxiway;
|
|
|
|
class FGPavement;
|
|
|
|
|
|
|
|
class FGNavRecord;
|
|
|
|
|
|
|
|
class Block;
|
|
|
|
class FGTaxiNode;
|
|
|
|
class FGParking;
|
|
|
|
class FGTaxiSegment;
|
|
|
|
class FGTaxiRoute;
|
|
|
|
class FGGroundNetwork;
|
|
|
|
|
|
|
|
class RunwayList;
|
|
|
|
class RunwayGroup;
|
|
|
|
class FGRunwayPreference;
|
|
|
|
|
|
|
|
class FGSidStar;
|
|
|
|
|
|
|
|
class SGPropertyNode;
|
|
|
|
|
|
|
|
namespace flightgear {
|
|
|
|
class SID;
|
|
|
|
class STAR;
|
|
|
|
class Approach;
|
|
|
|
class Waypt;
|
|
|
|
class CommStation;
|
|
|
|
|
|
|
|
typedef std::vector<flightgear::SID*> SIDList;
|
|
|
|
typedef std::vector<STAR*> STARList;
|
|
|
|
typedef std::vector<Approach*> ApproachList;
|
|
|
|
|
|
|
|
typedef SGSharedPtr<Waypt> WayptRef;
|
|
|
|
typedef std::vector<WayptRef> WayptVec;
|
|
|
|
|
|
|
|
typedef SGSharedPtr<CommStation> CommStationRef;
|
2013-03-06 23:21:29 +01:00
|
|
|
typedef std::vector<CommStationRef> CommStationList;
|
2013-03-04 16:31:37 +01:00
|
|
|
typedef std::map<std::string, FGAirport*> AirportCache;
|
|
|
|
}
|
|
|
|
|
2013-03-04 19:24:47 +01:00
|
|
|
typedef SGSharedPtr<FGAirport> FGAirportRef;
|
2013-03-06 23:21:29 +01:00
|
|
|
typedef SGSharedPtr<FGRunwayBase> FGRunwayBaseRef;
|
2013-03-04 19:24:47 +01:00
|
|
|
typedef SGSharedPtr<FGRunway> FGRunwayRef;
|
2013-03-06 23:21:29 +01:00
|
|
|
typedef SGSharedPtr<FGHelipad> FGHelipadRef;
|
|
|
|
typedef SGSharedPtr<FGTaxiway> FGTaxiwayRef;
|
|
|
|
typedef SGSharedPtr<FGPavement> FGPavementRef;
|
2013-03-04 19:24:47 +01:00
|
|
|
typedef SGSharedPtr<FGParking> FGParkingRef;
|
2015-12-05 00:25:29 +00:00
|
|
|
typedef SGSharedPtr<FGAirportDynamics> FGAirportDynamicsRef;
|
2013-03-04 19:24:47 +01:00
|
|
|
|
2013-03-06 23:21:29 +01:00
|
|
|
typedef std::vector<FGRunwayRef> FGRunwayList;
|
|
|
|
typedef std::map<std::string, FGRunwayRef> FGRunwayMap;
|
|
|
|
typedef std::map<std::string, FGHelipadRef> FGHelipadMap;
|
2013-03-04 16:31:37 +01:00
|
|
|
|
2013-03-06 23:21:29 +01:00
|
|
|
typedef std::vector<FGTaxiwayRef> FGTaxiwayList;
|
|
|
|
typedef std::vector<FGPavementRef> FGPavementList;
|
|
|
|
typedef std::vector<FGParkingRef> FGParkingList;
|
2013-03-04 16:31:37 +01:00
|
|
|
|
|
|
|
typedef std::vector<FGTaxiSegment*> FGTaxiSegmentVector;
|
|
|
|
typedef FGTaxiSegmentVector::iterator FGTaxiSegmentVectorIterator;
|
|
|
|
|
|
|
|
typedef SGSharedPtr<FGTaxiNode> FGTaxiNodeRef;
|
|
|
|
typedef std::vector<FGTaxiNodeRef> FGTaxiNodeVector;
|
|
|
|
typedef FGTaxiNodeVector::iterator FGTaxiNodeVectorIterator;
|
|
|
|
typedef std::map<int, FGTaxiNodeRef> IndexTaxiNodeMap;
|
|
|
|
|
|
|
|
typedef std::vector<Block> BlockList;
|
|
|
|
typedef BlockList::iterator BlockListIterator;
|
|
|
|
|
|
|
|
typedef std::vector<time_t> TimeVector;
|
|
|
|
typedef std::vector<time_t>::iterator TimeVectorIterator;
|
|
|
|
|
|
|
|
typedef std::vector<FGTaxiRoute> TaxiRouteVector;
|
|
|
|
typedef std::vector<FGTaxiRoute>::iterator TaxiRouteVectorIterator;
|
|
|
|
|
|
|
|
typedef std::vector<RunwayList> RunwayListVec;
|
|
|
|
typedef std::vector<RunwayList>::iterator RunwayListVectorIterator;
|
|
|
|
typedef std::vector<RunwayList>::const_iterator RunwayListVecConstIterator;
|
|
|
|
|
|
|
|
typedef std::vector<RunwayGroup> PreferenceList;
|
|
|
|
typedef std::vector<RunwayGroup>::iterator PreferenceListIterator;
|
|
|
|
typedef std::vector<RunwayGroup>::const_iterator PreferenceListConstIterator;
|
|
|
|
|
|
|
|
#endif /* AIRPORTS_FWD_HXX_ */
|