- FGParking() :
- heading(0),
- radius(0),
- available(true),
- pushBackPoint(0),
- pushBackRoute(0)
- {
- };
-
- FGParking(const FGParking &other) :
- FGTaxiNode (other),
- heading (other.heading),
- radius (other.radius),
- parkingName (other.parkingName),
- type (other.type),
- airlineCodes (other.airlineCodes),
- available (other.available),
- pushBackPoint(other.pushBackPoint),
- pushBackRoute(other.pushBackRoute)
- {
- };
-
-
- FGParking& operator =(const FGParking &other)
- {
- FGTaxiNode::operator=(other);
- heading = other.heading;
- radius = other.radius;
- parkingName = other.parkingName;
- type = other.type;
- airlineCodes = other.airlineCodes;
- available = other.available;
- pushBackPoint= other.pushBackPoint;
- pushBackRoute= other.pushBackRoute;
- return *this;
- };
- ~FGParking();
-
- void setHeading (double hdg) { heading = hdg; };
- void setRadius (double rad) { radius = rad; };
-
- void setName (const std::string& name) { parkingName = name; };
- void setType (const std::string& tpe) { type = tpe; };
- void setCodes (const std::string& codes){ airlineCodes= codes;};
-
- void setPushBackRoute(FGTaxiRoute *val) { pushBackRoute = val; };
- void setPushBackPoint(int val) { pushBackPoint = val; };
-
- bool isAvailable () const { return available;};
- void setAvailable(bool val) { available = val; };
+ FGParking(int index,
+ const SGGeod& pos,
+ double heading, double radius,
+ const std::string& name, const std::string& type,
+ const std::string& codes);
+ virtual ~FGParking();