faa.tg.simevent.action
Class AcCruiseSpeedAction

java.lang.Object
  extended by faa.tg.simevent.action.AcCruiseSpeedAction
All Implemented Interfaces:
RecordableConditionalState<SimulationTime>, SimEventAction, SimEventActionOnAircraft, java.lang.Cloneable

Deprecated.

public class AcCruiseSpeedAction
extends java.lang.Object
implements SimEventActionOnAircraft, java.lang.Cloneable

 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...dw
 
See the source: AcNewClimbSpeedAction.java

Version:
$Id: AcCruiseSpeedAction.java,v 3.9 2008/12/08 16:16:12 lykensj Exp $
Author:
Dan Warburton, FAA/ACT-510
See Also:
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

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
Deprecated. 
The CVS Version ID

See Also:
Constant Field Values

aircraft

private Aircraft aircraft
Deprecated. 
The aircraft to execute upon.


cruiseSpeed

private final IndicatedAirspeed cruiseSpeed
Deprecated. 
The aircraft's cruise speed as an indicated airspeed.

Constructor Detail

AcCruiseSpeedAction

public AcCruiseSpeedAction(Aircraft aircraft)
Deprecated. 
Construct a AcCruiseSpeedAction.

Parameters:
aircraft - The aircraft that receives the speed command.

AcCruiseSpeedAction

public AcCruiseSpeedAction(Aircraft aircraft,
                           IndicatedAirspeed cruiseSpeed)
Deprecated. 
Method Detail

execute

public void execute(Scenario scenario)
             throws ExecutionException
Deprecated. 
Execute the Action by ...

Specified by:
execute in interface SimEventAction
Throws:
ExecutionException - If a problem in execution.

execute

public void execute(Aircraft aircraft)
Deprecated. 
Execute the Action by executing the commandLine on the given aircraft.

Specified by:
execute in interface SimEventActionOnAircraft
Parameters:
aircraft - The aircraft to execute the command on.

getRecordable

public SimEventActionState getRecordable(SimulationTime timeStamp)
Deprecated. 
This is to satisfy the implementation of RecordableConditionalState (from SimEventAction).

Specified by:
getRecordable in interface RecordableConditionalState<SimulationTime>
Specified by:
getRecordable in interface SimEventAction
Parameters:
timeStamp - the current time of the Scenario.
Returns:
SimEventActionState with State information for this Class.

toString

public java.lang.String toString()
Deprecated. 
Returns the AcCruiseSpeedAction information as a String.

Specified by:
toString in interface SimEventActionOnAircraft
Overrides:
toString in class java.lang.Object
Returns:
AcCruiseSpeedAction information as a String.

clone

public AcCruiseSpeedAction clone()
Deprecated. 
Provide a clone implementation

Specified by:
clone in interface SimEventActionOnAircraft
Overrides:
clone in class java.lang.Object

toShortString

public java.lang.String toShortString()
Deprecated. 
Returns a shorter version of toString

Specified by:
toShortString in interface SimEventActionOnAircraft