|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.executive.AbstractEpochManager
faa.tg.executive.FastTimeEpochManager
public class FastTimeEpochManager
The FastTimeEpochManager generates EndOfEpoch events when the previous Epoch is done computing, instead of waiting for a system second to pass.See the source: FastTimeEpochManager.java
EndOfEpochEvent,
EndOfEpochListener| Field Summary | |
|---|---|
private int |
bailOutEpoch
The number of updates to run before ending. |
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
private java.lang.Thread |
epochThread
The thread that this Manager controls. |
private boolean |
ticking
Set true if epoch manager is ticking |
| Fields inherited from class faa.tg.executive.AbstractEpochManager |
|---|
scenario, simEpochInterval |
| Constructor Summary | |
|---|---|
FastTimeEpochManager()
Construct a FastTimeEpochManager with a default end time of two hours. |
|
FastTimeEpochManager(int numberOfSecondsInSim)
Construct a FastTimeEpochManager with the time to end in seconds of simulation time. |
|
FastTimeEpochManager(SimulationTime simulationLength,
SimulationTime epochInterval,
Scenario scenario)
|
|
FastTimeEpochManager(java.lang.String simEndTime)
Construct FastTimeEpochManager specifying an end time as an HH:MM:SS string (or if no colons in string, uses the value as the number of seconds). |
|
| Method Summary | |
|---|---|
void |
computationComplete()
Computation notification ignored in this Epoch Manager. |
void |
handleExecutiveEvent(ExecutiveEvent ee)
Deprecated. Remove method after 3/03/03 |
void |
run()
Run the Epoch Manager |
| Methods inherited from class faa.tg.executive.AbstractEpochManager |
|---|
setSimEpochInterval |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CVS_VERSION_ID
private java.lang.Thread epochThread
private boolean ticking
private int bailOutEpoch
| Constructor Detail |
|---|
public FastTimeEpochManager(java.lang.String simEndTime)
simEndTime - Time to end the simulation.public FastTimeEpochManager(int numberOfSecondsInSim)
numberOfSecondsInSim - Seconds to calculate before ending sim.
public FastTimeEpochManager(SimulationTime simulationLength,
SimulationTime epochInterval,
Scenario scenario)
public FastTimeEpochManager()
| Method Detail |
|---|
public void computationComplete()
computationComplete in interface EpochManagerInterfacepublic void handleExecutiveEvent(ExecutiveEvent ee)
handleExecutiveEvent in interface ExecutiveEventListener<ExecutiveEvent>handleExecutiveEvent in class AbstractEpochManagerpublic void run()
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||