public abstract class HistoryManager extends Object
Historicals.
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HistoryManager.HistoricalElement
Historical view for the history manager.
|
| Constructor and Description |
|---|
HistoryManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear(nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator)
Clear central manager.
|
protected void |
endOfSimulation()
Method that clears the entire memory at simulation end.
|
static HistoryManagerDEVS |
get(nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator)
Get central manager.
|
protected Set<HistoryManager.HistoricalElement> |
getHistoricals()
Returns the historicals.
|
(package private) abstract org.djunits.value.vdouble.scalar.Time |
now()
Returns the current simulation time.
|
void |
registerHistorical(HistoryManager.HistoricalElement historical)
Registers a historical.
|
static void |
set(HistoryManagerDEVS manager,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator)
Set central manager.
|
public static HistoryManagerDEVS get(nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator)
simulator - DEVSSimulatorInterface.TimeDoubleUnit; simulatorpublic static void set(HistoryManagerDEVS manager, nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator)
manager - HistoryManagerDEVS; managersimulator - DEVSSimulatorInterface.TimeDoubleUnit; simulatorpublic static void clear(nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator)
simulator - DEVSSimulatorInterface.TimeDoubleUnit; simulatorpublic void registerHistorical(HistoryManager.HistoricalElement historical)
historical - Historical; historical to register.protected final Set<HistoryManager.HistoricalElement> getHistoricals()
abstract org.djunits.value.vdouble.scalar.Time now()
protected final void endOfSimulation()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.