Class XPGenerator
java.lang.Object
org.deltava.util.flightplan.FlightPlanGenerator
org.deltava.util.flightplan.XPGenerator
- Direct Known Subclasses:
XP11Generator, XP9Generator
A Flight Plan Generator for X-Plane.
- Since:
- 10.6
- Version:
- 10.6
- Author:
- Luke
-
Field Summary
Fields inherited from class FlightPlanGenerator
_aA, _aD, _al, _altitude, _navCycle, _route, _sid, _starModifier and TypeFieldDescriptionprotected AirportThe arrivla airport.protected AirportThe departure airport.protected AirlineThe airline.protected StringThe cruise altitude.protected StringThe AIRAC cycle used to generate the flight plan.protected StringThe route waypoints as rendered in the flight plan for ACARS.protected TerminalRouteThe standard departure route.protected TerminalRouteThe standard terminal arrival route. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static intgetNavaidType(Navaid nt) Maps Navaid types to X-Plane FMS types.Methods inherited from class FlightPlanGenerator
create, generate, getEncoding, getExtension, getMimeType, setAirline, setAirports, setCruiseAltitude, setNavCycle, setRoute, setSID, setSTARModifier and TypeMethodDescriptionstatic FlightPlanGeneratorReturns the appropriate FlightPlanGenerator for a particular Simulator.abstract Stringgenerate(Collection<NavigationDataBean> waypoints) Generates a flight plan between two airports.Returns the character encoding for flight plans generated by this Generator.Returns the file extension of flight plans generated by this Generator.Returns the MIME type of flight plans generated by this Generator.voidsetAirline(Airline al) Sets the Airline for the flight.voidsetAirports(Airport aD, Airport aA) Sets the departure and arrival Airports for the flight.voidsetCruiseAltitude(String alt) Sets the cruise altitude for the flight.voidsetNavCycle(String cycle) Updates the AIRAC cycle used to generate this Flight Plan.voidSets the route text.voidsetSID(TerminalRoute sid) Updates the deprature route.voidsetSTAR(TerminalRoute star) Updates the arrival route.
-
Constructor Details
-
XPGenerator
XPGenerator()
-
-
Method Details