FlightGear next
EnRouteController.hxx
Go to the documentation of this file.
1/*
2 * SPDX-FileName: EnRouteController.hxx
3 * SPDX-FileComment: ATC Controller controlling Leg 4
4 * SPDX-FileCopyrightText: Copyright (C) 2025 Keith Paterson - keith.paterson@gmx.de
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7#pragma once
8
10
11#include <ATC/ATCController.hxx>
12
13using std::string;
14
16{
17public:
18 string getTransponderCode(const string& fltRules);
19
20 int getFrequency();
21 void announcePosition(int id,
22 FGAIFlightPlan* intendedRoute, int currentRoute,
23 double lat, double lon,
24 double heading, double speed,
25 double alt, double radius,
26 int leg,
27 FGAIAircraft* aircraft);
28 void updateAircraftInformation(int id, SGGeod geod,
29 double heading, double speed, double alt, double dt);
30 void render(bool);
31 std::string getName() const;
32 void update(double);
33};
void announcePosition(int id, FGAIFlightPlan *intendedRoute, int currentRoute, double lat, double lon, double heading, double speed, double alt, double radius, int leg, FGAIAircraft *aircraft)
int getFrequency()
Returns the frequency to be used.
void updateAircraftInformation(int id, SGGeod geod, double heading, double speed, double alt, double dt)
std::string getName() const
string getTransponderCode(const string &fltRules)