public class HistoryManagerDEVS extends HistoryManager implements nl.tudelft.simulation.event.EventListenerInterface
OTSDEVSSimulatorInterface.
Copyright (c) 2013-2017 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(OTSDEVSSimulatorInterface simulator,
org.djunits.value.vdouble.scalar.Duration history,
org.djunits.value.vdouble.scalar.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) |
org.djunits.value.vdouble.scalar.Time |
now()
Returns the current simulation time.
|
String |
toString() |
clear, endOfSimulation, get, getHistoricals, registerHistorical, setpublic HistoryManagerDEVS(OTSDEVSSimulatorInterface simulator, org.djunits.value.vdouble.scalar.Duration history, org.djunits.value.vdouble.scalar.Duration cleanUpInterval)
simulator - OTSDEVSSimulatorInterface; simulatorhistory - Duration; time over which history is guaranteedcleanUpInterval - Duration; clean-up intervalpublic org.djunits.value.vdouble.scalar.Time now()
now in class HistoryManagerprotected final void cleanUpHistory()
Historicals.public void notify(nl.tudelft.simulation.event.EventInterface event)
throws RemoteException
notify in interface nl.tudelft.simulation.event.EventListenerInterfaceRemoteExceptionCopyright © 2014–2018 Delft University of Technology. All rights reserved.