public class TraceGenerator extends Generator
TraceFile
for the description of the trace
file format.Entity.PortAlias
Modifier and Type | Field and Description |
---|---|
protected int |
msgCounter |
protected TraceFile |
traceFile |
activated, event, messageFactory, outputPort
portAliases, ports, simNode
Constructor and Description |
---|
TraceGenerator(java.lang.String filename,
java.lang.String name,
boolean absoluteTime,
boolean wrapFile,
SimNode owner,
Factory<Message> factory) |
TraceGenerator(java.lang.String filename,
java.lang.String name,
boolean absoluteTime,
boolean wrapFile,
SimNode owner,
Factory<Message> factory,
boolean activateOnStart) |
TraceGenerator(java.lang.String filename,
java.lang.String name,
SimNode owner,
Factory<Message> factory) |
TraceGenerator(java.lang.String filename,
java.lang.String name,
SimNode owner,
Factory<Message> factory,
boolean activateOnStart) |
Modifier and Type | Method and Description |
---|---|
protected Message |
createMessage() |
protected double |
getNextEventTime(double currentTime) |
activate, deactivate, getMessageFactory, getOutput, setActivated, setMessageFactory
addPort, aliasPort, aliasPort, connect, disconnect, getName, getNode, getPortByName, getPorts, isPortKnown, unaliasPort
protected TraceFile traceFile
protected int msgCounter
public TraceGenerator(java.lang.String filename, java.lang.String name, SimNode owner, Factory<Message> factory, boolean activateOnStart)
public TraceGenerator(java.lang.String filename, java.lang.String name, SimNode owner, Factory<Message> factory)
public TraceGenerator(java.lang.String filename, java.lang.String name, boolean absoluteTime, boolean wrapFile, SimNode owner, Factory<Message> factory, boolean activateOnStart)
protected Message createMessage()
createMessage
in class Generator
protected double getNextEventTime(double currentTime)
getNextEventTime
in class Generator