FlightGear next
sidstar.hxx
Go to the documentation of this file.
1/*
2 * SPDX-FileName: sidstar.hxx
3 * SPDX-FileComment: a class to store and maintain data for SID and STAR procedures
4 * SPDX-FileCopyrightText: Written by Durk Talsma, started March 2009
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7
8#pragma once
9
10#include <simgear/misc/sg_path.hxx>
11#include <simgear/xml/easyxml.hxx>
12
14
15#include "airports_fwd.hxx"
16
17
19{
20private:
21 std::string id;
22 bool initialized;
24
25public:
26 explicit FGSidStar(FGAirport* ap);
27 FGSidStar(const FGSidStar& other);
28
29 std::string getId() const { return id; };
30 void load(SGPath path);
31 FGAIFlightPlan* getBest(const std::string& activeRunway, double heading);
32};
std::string getId() const
Definition sidstar.hxx:29
void load(SGPath path)
Definition sidstar.cxx:35
FGSidStar(FGAirport *ap)
Definition sidstar.cxx:24
FGAIFlightPlan * getBest(const std::string &activeRunway, double heading)
Definition sidstar.cxx:94
std::map< std::string, FlightPlanVec > FlightPlanVecMap