|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgenerator_lib.GeneratorOutput
public class GeneratorOutput
The GeneratorOutput class assists the TraceGenerator driver program in writing data to the trace file
Field Summary | |
---|---|
private Globals |
GLOBALS
The Network parameterization object |
private java.io.PrintWriter |
out
Output stream to the trace file |
Constructor Summary | |
---|---|
GeneratorOutput(java.lang.String output,
Globals GLOBALS)
Construct a GeneratorOutput object |
Method Summary | |
---|---|
void |
shutdown()
Shutdown (flush and close) the output stream |
void |
writeHeader()
Write the header (mostly GLOBAL variables) data to the trace file. |
void |
writeLibraries(Network nw)
Write file library data to the trace file |
void |
writeTrans(Transaction trans)
Write a single transaction to the trace file |
void |
writeUsers(Network nw)
Write User library data to the trace file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Globals GLOBALS
private java.io.PrintWriter out
Constructor Detail |
---|
public GeneratorOutput(java.lang.String output, Globals GLOBALS)
output
- Filename/path of the trace file to be writtenGLOBALS
- The Network parameterization objectMethod Detail |
---|
public void writeHeader()
public void writeUsers(Network nw)
nw
- The Network whose User data to writepublic void writeLibraries(Network nw)
nw
- The Network whose file data to writepublic void writeTrans(Transaction trans)
trans
- The Transaction whose data to writepublic void shutdown()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |