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
13
#include <
ATC/trafficcontrol.hxx
>
14
15
#include "
airports_fwd.hxx
"
16
17
18
class
FGSidStar
19
{
20
private
:
21
std::string id;
22
bool
initialized;
23
FlightPlanVecMap
data;
24
25
public
:
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
};
airports_fwd.hxx
FGAIFlightPlan
Definition
AIFlightPlan.hxx:124
FGAirport
Definition
airport.hxx:32
FGSidStar::getId
std::string getId() const
Definition
sidstar.hxx:29
FGSidStar::load
void load(SGPath path)
Definition
sidstar.cxx:35
FGSidStar::FGSidStar
FGSidStar(FGAirport *ap)
Definition
sidstar.cxx:24
FGSidStar::getBest
FGAIFlightPlan * getBest(const std::string &activeRunway, double heading)
Definition
sidstar.cxx:94
trafficcontrol.hxx
FlightPlanVecMap
std::map< std::string, FlightPlanVec > FlightPlanVecMap
Definition
trafficcontrol.hxx:47
src
Airports
sidstar.hxx
Generated on Tue Jun 3 2025 12:58:37 for FlightGear by
1.13.2