Package output
Class AbstractOutputTimed
- java.lang.Object
-
- output.AbstractOutput
-
- output.AbstractOutputTimed
-
- All Implemented Interfaces:
InterfaceOutput,InterfacePlottable
- Direct Known Subclasses:
AbstractOutputTimedCell,AbstractOutputTimedLanegroup,AbstractOutputTimedLink,AbstractOutputTimedPath,OutputLinkQueues,OutputMicroTrajectory
public abstract class AbstractOutputTimed 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 Commoditycommoditystatic StringdelimFloatoutDtWritertime_writer-
Fields inherited from class output.AbstractOutput
output_folder, prefix, scenario, type, write_to_file, writer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Longget_commodity_id()floatget_outdt()Stringget_output_file()voidopen()voidregister(RunParameters props, Dispatcher dispatcher)voidvalidate_post_init(OTMErrorLog errorLog)voidwrite(float timestamp)-
Methods inherited from class output.AbstractOutput
getType, initialize, make_time_chart
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface output.InterfacePlottable
get_yaxis_label, plot
-
-
-
-
Constructor Detail
-
AbstractOutputTimed
public AbstractOutputTimed(Scenario scenario, String prefix, String output_folder, Long commodity_id, Float outDt) throws OTMException
- Throws:
OTMException
-
-
Method Detail
-
open
public void open() throws OTMException- Specified by:
openin interfaceInterfaceOutput- Overrides:
openin classAbstractOutput- Throws:
OTMException
-
close
public void close() throws OTMException- Specified by:
closein interfaceInterfaceOutput- Overrides:
closein classAbstractOutput- Throws:
OTMException
-
register
public void register(RunParameters props, Dispatcher dispatcher)
- Specified by:
registerin interfaceInterfaceOutput
-
validate_post_init
public void validate_post_init(OTMErrorLog errorLog)
- Overrides:
validate_post_initin classAbstractOutput
-
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) throws OTMException- Throws:
OTMException
-
get_commodity_id
public final Long get_commodity_id()
-
get_outdt
public final float get_outdt()
-
-