Package output
Class AbstractOutputEvent
- java.lang.Object
-
- output.AbstractOutput
-
- output.AbstractOutputEvent
-
- All Implemented Interfaces:
InterfaceOutput
,InterfacePlottable
- Direct Known Subclasses:
OutputController
,OutputTravelTime
,OutputVehicleEvents
public abstract class AbstractOutputEvent extends AbstractOutput implements InterfacePlottable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class output.AbstractOutput
AbstractOutput.Type
-
-
Field Summary
Fields Modifier and Type Field Description List<AbstractEventWrapper>
events
-
Fields inherited from class output.AbstractOutput
output_folder, prefix, scenario, type, write_to_file, writer
-
-
Constructor Summary
Constructors Constructor Description AbstractOutputEvent(Scenario scenario, String prefix, String output_folder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AbstractEventWrapper>
get_events()
void
initialize(Scenario scenario)
void
plot(String filename)
void
write(AbstractEventWrapper event)
-
Methods inherited from class output.AbstractOutput
close, get_output_file, getType, make_time_chart, open, validate_post_init
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface output.InterfaceOutput
register
-
Methods inherited from interface output.InterfacePlottable
get_yaxis_label
-
-
-
-
Field Detail
-
events
public List<AbstractEventWrapper> events
-
-
Method Detail
-
initialize
public void initialize(Scenario scenario) throws OTMException
- Overrides:
initialize
in classAbstractOutput
- Throws:
OTMException
-
plot
public void plot(String filename) throws OTMException
- Specified by:
plot
in interfaceInterfacePlottable
- Throws:
OTMException
-
write
public final void write(AbstractEventWrapper event) throws OTMException
- Throws:
OTMException
-
get_events
public final List<AbstractEventWrapper> get_events()
-
-