|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.simevent.action.AcCruiseSpeedAction
public class AcCruiseSpeedAction
AcCruiseSpeedAction executes newSpeed(IndicatedAirspeed) commands on the given Aircraft, IF the aircraft's speed is below the preferred cruise speed ANDi the aircraft is in level flight (notclimbing). still needs work...dwSee the source: AcNewClimbSpeedAction.java
AcCruiseSpeedActionState| Field Summary | |
|---|---|
private Aircraft |
aircraft
Deprecated. The aircraft to execute upon. |
private IndicatedAirspeed |
cruiseSpeed
Deprecated. The aircraft's cruise speed as an indicated airspeed. |
static java.lang.String |
CVS_VERSION_ID
Deprecated. The CVS Version ID |
| Constructor Summary | |
|---|---|
AcCruiseSpeedAction(Aircraft aircraft)
Deprecated. Construct a AcCruiseSpeedAction. |
|
AcCruiseSpeedAction(Aircraft aircraft,
IndicatedAirspeed cruiseSpeed)
Deprecated. |
|
| Method Summary | |
|---|---|
AcCruiseSpeedAction |
clone()
Deprecated. Provide a clone implementation |
void |
execute(Aircraft aircraft)
Deprecated. Execute the Action by executing the commandLine on the given aircraft. |
void |
execute(Scenario scenario)
Deprecated. Execute the Action by ... |
SimEventActionState |
getRecordable(SimulationTime timeStamp)
Deprecated. This is to satisfy the implementation of RecordableConditionalState (from SimEventAction). |
java.lang.String |
toShortString()
Deprecated. Returns a shorter version of toString |
java.lang.String |
toString()
Deprecated. Returns the AcCruiseSpeedAction information as a String. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CVS_VERSION_ID
private Aircraft aircraft
private final IndicatedAirspeed cruiseSpeed
| Constructor Detail |
|---|
public AcCruiseSpeedAction(Aircraft aircraft)
aircraft - The aircraft that receives the speed command.
public AcCruiseSpeedAction(Aircraft aircraft,
IndicatedAirspeed cruiseSpeed)
| Method Detail |
|---|
public void execute(Scenario scenario)
throws ExecutionException
execute in interface SimEventActionExecutionException - If a problem in execution.public void execute(Aircraft aircraft)
execute in interface SimEventActionOnAircraftaircraft - The aircraft to execute the command on.public SimEventActionState getRecordable(SimulationTime timeStamp)
getRecordable in interface RecordableConditionalState<SimulationTime>getRecordable in interface SimEventActiontimeStamp - the current time of the Scenario.
public java.lang.String toString()
toString in interface SimEventActionOnAircrafttoString in class java.lang.Objectpublic AcCruiseSpeedAction clone()
clone in interface SimEventActionOnAircraftclone in class java.lang.Objectpublic java.lang.String toShortString()
toShortString in interface SimEventActionOnAircraft
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||