public class HistoryManagerDEVS extends HistoryManager implements nl.tudelft.simulation.event.EventListenerInterface
DEVSSimulatorInterface.TimeDoubleUnit.
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
HistoryManager.HistoricalElement| Constructor and Description |
|---|
HistoryManagerDEVS(nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator,
Duration history,
Duration cleanUpInterval)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanUpHistory()
Cleans up the history of all registered
Historicals. |
void |
notify(nl.tudelft.simulation.event.EventInterface event) |
Time |
now()
Returns the current simulation time.
|
String |
toString() |
endOfSimulation, getHistoricals, registerHistoricalpublic HistoryManagerDEVS(nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator,
Duration history,
Duration cleanUpInterval)
simulator - DEVSSimulatorInterface.TimeDoubleUnit; simulatorhistory - Duration; time over which history is guaranteedcleanUpInterval - Duration; clean-up intervalpublic Time now()
protected final void cleanUpHistory()
Historicals.public void notify(nl.tudelft.simulation.event.EventInterface event)
throws RemoteException
notify in interface nl.tudelft.simulation.event.EventListenerInterfaceRemoteExceptionCopyright © 2014–2019 Delft University of Technology. All rights reserved.