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 Stringget_output_file()voidmove_from_to_queue(float timestamp, MesoVehicle vehicle, Queue from_queue, Queue to_queue)voidregister(RunParameters props, Dispatcher dispatcher)voidwrite(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_filein interfaceInterfaceOutput- Overrides:
get_output_filein 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:
registerin 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_queuein interfaceInterfaceVehicleListener- Throws:
OTMException
-
-