FlightGear next
StartupController.hxx
Go to the documentation of this file.
1// Extracted from trafficcontrol.hxx - classes to manage AIModels based air traffic control
2// Written by Durk Talsma, started September 2006.
3//
4// This program is free software; you can redistribute it and/or
5// modify it under the terms of the GNU General Public License as
6// published by the Free Software Foundation; either version 2 of the
7// License, or (at your option) any later version.
8//
9// This program is distributed in the hope that it will be useful, but
10// WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12// General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with this program; if not, write to the Free Software
16// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17//
18// $Id$
19
20#pragma once
21
23
24#include <osg/Geode>
25#include <osg/Geometry>
26#include <osg/MatrixTransform>
27#include <osg/Shape>
28
29#include <simgear/compiler.h>
30#include <simgear/constants.h>
31#include <simgear/debug/logstream.hxx>
32#include <simgear/structure/SGReferenced.hxx>
33#include <simgear/structure/SGSharedPtr.hxx>
34
35#include <ATC/ATCController.hxx>
37
38/******************************************************************************
39 * class FGStartupController
40 * handle
41 *****************************************************************************/
42
44{
45private:
47 int getFrequency();
48
49public:
51 virtual ~FGStartupController();
52
53 virtual void announcePosition(int id, FGAIFlightPlan *intendedRoute, int currentRoute,
54 double lat, double lon,
55 double hdg, double spd, double alt, double radius, int leg,
56 FGAIAircraft *aircraft);
57 virtual void updateAircraftInformation(int id, SGGeod geod,
58 double heading, double speed, double alt, double dt);
59
60 virtual void render(bool);
61 virtual std::string getName() const;
62 virtual void update(double dt);
63};
FGAirportDynamics * parent
virtual void updateAircraftInformation(int id, SGGeod geod, double heading, double speed, double alt, double dt)
FGStartupController(FGAirportDynamics *parent)
virtual void update(double dt)
virtual void render(bool)
virtual void announcePosition(int id, FGAIFlightPlan *intendedRoute, int currentRoute, double lat, double lon, double hdg, double spd, double alt, double radius, int leg, FGAIAircraft *aircraft)
virtual std::string getName() const