|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jasi.sim.basic.AbstractSimArchive
public abstract class AbstractSimArchive
Base class for all simulation archives. In an instance of an archive the tables, simulation elements and events are saved. The extension should be used to differentiate between the various implementation.
Constructor Summary | |
---|---|
AbstractSimArchive()
|
Method Summary | |
---|---|
abstract java.lang.String |
getExtension()
Get the file extension of an archive. |
void |
read(java.lang.String file,
AbstractSimKernel sim)
Read this archive from a file. |
abstract void |
readElements()
Read simulation elements from archive. |
abstract void |
readEvents()
Read simulation events from archive. |
abstract void |
readFinish()
Finish reading this archive from a file. |
abstract void |
readInit(AbstractSimKernel sim,
java.lang.String file)
Initialization of reading this archive, when imported from a file. |
abstract void |
readTables()
Read condition tables from archive. |
void |
write(java.lang.String file,
AbstractSimKernel sim)
Write this archive to a file. |
abstract void |
writeElements()
Write simulation elements into archive. |
abstract void |
writeEvents()
Write simulation events into archive. |
abstract void |
writeFinish()
Finish writing this archive to a file. |
abstract void |
writeInit(AbstractSimKernel sim,
java.lang.String file)
Initialization of writing this archive, when exported to a file. |
abstract void |
writeTables()
Write condition tables into archive. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSimArchive()
Method Detail |
---|
public final void write(java.lang.String file, AbstractSimKernel sim)
file
- The file name.sim
- The simulation instance.public abstract void writeInit(AbstractSimKernel sim, java.lang.String file)
sim
- The simulation instance.file
- The file name.public abstract void writeTables()
public abstract void writeElements()
public abstract void writeEvents()
public abstract void writeFinish()
public final void read(java.lang.String file, AbstractSimKernel sim)
file
- The file name.sim
- The simulation instance.public abstract void readInit(AbstractSimKernel sim, java.lang.String file)
sim
- The simulation instance.file
- The file name.public abstract void readTables()
public abstract void readElements()
public abstract void readEvents()
public abstract void readFinish()
public abstract java.lang.String getExtension()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |