public class SimEventReport extends Object implements Report
Modifier and Type | Field and Description |
---|---|
protected SimEvent |
eventPrototype |
protected ReportVariables |
reportVariables |
Constructor and Description |
---|
SimEventReport() |
Modifier and Type | Method and Description |
---|---|
void |
eventOccurred(SimEvent event) |
SimEvent |
getEventPrototype() |
String |
getName() |
ReportVariables |
getReportVariables() |
Map<Object,Number> |
getVariableBindings()
Get the values calculated by this report.
|
void |
onEventPrototype(SimEvent event) |
void |
onSimulationFinished(SimEvent event) |
void |
onSimulationStarting(SimEvent event) |
void |
setEventPrototype(SimEvent eventPrototype) |
void |
setReportVariables(ReportVariables reportVariables) |
protected SimEvent eventPrototype
protected ReportVariables reportVariables
public void eventOccurred(SimEvent event)
eventOccurred
in interface EventListener
public void onEventPrototype(SimEvent event)
public void onSimulationStarting(SimEvent event)
public void onSimulationFinished(SimEvent event)
public Map<Object,Number> getVariableBindings()
Report
getVariableBindings
in interface Report
Map
of user-readable variable names to their
associated values.public ReportVariables getReportVariables()
public void setReportVariables(ReportVariables reportVariables)
public SimEvent getEventPrototype()
public void setEventPrototype(SimEvent eventPrototype)
Copyright © 2014. All rights reserved.