faa.tg.executive
Class AbstractEpochManager
java.lang.Object
faa.tg.executive.AbstractEpochManager
- All Implemented Interfaces:
- EpochManagerInterface, ExecutiveEventListener<ExecutiveEvent>, java.util.EventListener
- Direct Known Subclasses:
- FastTimeEpochManager, FidelityEpochManager, MeticulousEpochManager, NetworkSlaveEpochManager, RealTimeEpochManager
public abstract class AbstractEpochManager
- extends java.lang.Object
- implements EpochManagerInterface
This class defines some of the common methods that all Epoch Managers
need and does some of the initial communication between a epoch manager
instance and the Executive.
See the source:
AbstractEpochManager.java
- Version:
- $Id: AbstractEpochManager.java,v 3.4 2008/05/07 14:19:35 lykensj Exp $
- Author:
- Michael Capito
- See Also:
EpochManagerInterface,
EndOfEpochEvent,
EndOfEpochListener
|
Field Summary |
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
protected Scenario |
scenario
|
protected SimulationTime |
simEpochInterval
The interval of an epoch, which is the SIMULATION time between aircraft
updates that are visible outside TGF: the amount of time to increase the
SimulationTime by at each End of Epoch event. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CVS_VERSION_ID
public static final java.lang.String CVS_VERSION_ID
- The CVS Version ID
- See Also:
- Constant Field Values
simEpochInterval
protected SimulationTime simEpochInterval
- The interval of an epoch, which is the SIMULATION time between aircraft
updates that are visible outside TGF: the amount of time to increase the
SimulationTime by at each End of Epoch event.
NOTE: The epochInterval stored by the Executive is in REAL (clock)
seconds and may change if the timeStepMultiplier changes.
scenario
protected final Scenario scenario
AbstractEpochManager
public AbstractEpochManager()
- Construct an EpochManager and tell the Scenario where to find it.
AbstractEpochManager
protected AbstractEpochManager(Scenario scenario,
SimulationTime epochInterval)
AbstractEpochManager
public AbstractEpochManager(SimulationTime epochInterval)
setSimEpochInterval
public void setSimEpochInterval(SimulationTime epochIntervalAsSimTime)
- Set the value of the epoch interval in simulation time.
- Specified by:
setSimEpochInterval in interface EpochManagerInterface
handleExecutiveEvent
public abstract void handleExecutiveEvent(ExecutiveEvent ee)
- Specified by:
handleExecutiveEvent in interface ExecutiveEventListener<ExecutiveEvent>