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 Commodity
commodity
static String
delim
Float
outDt
Writer
time_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 void
close()
Long
get_commodity_id()
float
get_outdt()
String
get_output_file()
void
open()
void
register(RunParameters props, Dispatcher dispatcher)
void
validate_post_init(OTMErrorLog errorLog)
void
write(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:
open
in interfaceInterfaceOutput
- Overrides:
open
in classAbstractOutput
- Throws:
OTMException
-
close
public void close() throws OTMException
- Specified by:
close
in interfaceInterfaceOutput
- Overrides:
close
in classAbstractOutput
- Throws:
OTMException
-
register
public void register(RunParameters props, Dispatcher dispatcher)
- Specified by:
register
in interfaceInterfaceOutput
-
validate_post_init
public void validate_post_init(OTMErrorLog errorLog)
- Overrides:
validate_post_init
in classAbstractOutput
-
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) throws OTMException
- Throws:
OTMException
-
get_commodity_id
public final Long get_commodity_id()
-
get_outdt
public final float get_outdt()
-
-