Package output
Class OutputVehicleClass
- java.lang.Object
-
- output.AbstractOutput
-
- output.OutputVehicleClass
-
- All Implemented Interfaces:
InterfaceOutput
,InterfaceVehicleListener
public class OutputVehicleClass extends AbstractOutput implements InterfaceVehicleListener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class output.AbstractOutput
AbstractOutput.Type
-
-
Field Summary
-
Fields inherited from class output.AbstractOutput
output_folder, prefix, scenario, type, write_to_file, writer
-
-
Constructor Summary
Constructors Constructor Description OutputVehicleClass(Scenario scenario, String prefix, String output_folder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get_output_file()
void
move_from_to_queue(float timestamp, MesoVehicle vehicle, Queue from_queue, Queue to_queue)
void
register(RunParameters props, Dispatcher dispatcher)
void
write(float timestamp, Object obj)
-
Methods inherited from class output.AbstractOutput
close, getType, initialize, make_time_chart, open, validate_post_init
-
-
-
-
Method Detail
-
get_output_file
public String get_output_file()
- Specified by:
get_output_file
in interfaceInterfaceOutput
- Overrides:
get_output_file
in classAbstractOutput
-
write
public void write(float timestamp, Object obj) throws OTMException
- Throws:
OTMException
-
register
public void register(RunParameters props, Dispatcher dispatcher) throws OTMException
- Specified by:
register
in interfaceInterfaceOutput
- Throws:
OTMException
-
move_from_to_queue
public void move_from_to_queue(float timestamp, MesoVehicle vehicle, Queue from_queue, Queue to_queue) throws OTMException
- Specified by:
move_from_to_queue
in interfaceInterfaceVehicleListener
- Throws:
OTMException
-
-