1 // Implementation of FGATC - ATC subsystem abstract base class.
2 // Nothing in here should ever get called.
4 // Written by David Luff, started February 2002.
6 // Copyright (C) 2002 David C Luff - david.luff@nottingham.ac.uk
8 // This program is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU General Public License as
10 // published by the Free Software Foundation; either version 2 of the
11 // License, or (at your option) any later version.
13 // This program is distributed in the hope that it will be useful, but
14 // WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // General Public License for more details.
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the Free Software
20 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 void FGATC::Update() {
30 void FGATC::AddPlane(string pid) {
33 int FGATC::RemovePlane() {
37 void FGATC::SetDisplay() {
40 void FGATC::SetNoDisplay() {
43 const char* FGATC::GetIdent() {
44 return("Error - base class function called in FGATC...");
47 atc_type FGATC::GetType() {
51 ostream& operator << (ostream& os, atc_type atc) {
54 return(os << "INVALID");
58 return(os << "GROUND");
60 return(os << "TOWER");
62 return(os << "APPROACH");
64 return(os << "DEPARTURE");
66 return(os << "ENROUTE");
68 return(os << "ERROR - Unknown switch in atc_type operator << ");