1 // parking.cxx - Implementation of a class to manage aircraft parking in
2 // FlightGear. This code is intended to be used by AI code and
3 // initial user-startup location selection.
5 // Written by Durk Talsma, started December 2004.
7 // Copyright (C) 2004 Durk Talsma.
9 // This program is free software; you can redistribute it and/or
10 // modify it under the terms of the GNU General Public License as
11 // published by the Free Software Foundation; either version 2 of the
12 // License, or (at your option) any later version.
14 // This program is distributed in the hope that it will be useful, but
15 // WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 // General Public License for more details.
19 // You should have received a copy of the GNU General Public License
20 // along with this program; if not, write to the Free Software
21 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
29 #include <simgear/compiler.h>
33 #include "parking.hxx"
35 /*********************************************************************************
37 ********************************************************************************/
39 FGParking::FGParking(int index,
41 double aHeading, double aRadius,
42 const std::string& name,
43 const std::string& aType,
44 const std::string& codes) :
45 FGTaxiNode(index, pos, false, 0),
54 FGParking::~FGParking()
58 void FGParking::setPushBackPoint(const FGTaxiNodeRef &node)