|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.simevent.action.AcNewSpeedAction
public class AcNewSpeedAction
AcNewSpeedAction executes newSpeed(TrueAirspeed) commands on the given Aircraft.See the source: AcNewSpeedAction.java
AcNewSpeedActionState| Field Summary | |
|---|---|
private Aircraft |
aircraft
The aircraft to execute upon. |
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
private IndicatedAirspeed |
targetIAS
The value of the target speed as an indicated airspeed. |
| Constructor Summary | |
|---|---|
AcNewSpeedAction(Aircraft aircraft,
IndicatedAirspeed targetIAS)
|
|
AcNewSpeedAction(Aircraft aircraft,
TrueAirspeed targetTAS)
Construct a AcNewSpeedAction with the Aircraft and true airspeed target. |
|
| Method Summary | |
|---|---|
AcNewSpeedAction |
clone()
Provide a clone implementation |
void |
execute(Aircraft aircraft)
Execute the Action by executing the commandLine on the given aircraft. |
void |
execute(Scenario scenario)
Execute the Action by ... |
SimEventActionState |
getRecordable(SimulationTime timeStamp)
This is to satisfy the implementation of RecordableConditionalState (from SimEventAction). |
java.lang.String |
toShortString()
Returns a shorter version of toString |
java.lang.String |
toString()
Returns the AcNewSpeedAction 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 IndicatedAirspeed targetIAS
| Constructor Detail |
|---|
public AcNewSpeedAction(Aircraft aircraft,
TrueAirspeed targetTAS)
aircraft - The aircraft that receives the speed command.targetTAS - The true airspeed target for the aircraft.
public AcNewSpeedAction(Aircraft aircraft,
IndicatedAirspeed targetIAS)
| 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 java.lang.String toShortString()
toShortString in interface SimEventActionOnAircraftpublic AcNewSpeedAction clone()
clone in interface SimEventActionOnAircraftclone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||