|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--System
Stellt einfache Systemfunktionen zur Verfuegung.
Defined in System.js
| Constructor Summary | |
System
()
|
|
| Method Summary | |
<static> function
|
command(cmdLine)
Executes a given command. |
<static> function
|
copyFile(source, dest)
Copies a file from source to dest. |
<static> function
|
failed()
Prints a "FAILED!". |
<static> function
|
getValue(resultName, netName)
Gets the value of a result measure from a result file generated after a simulation run. |
<static> function
|
ok()
Prints an "OK" |
<static> function
|
runNet(name, startTime, endTime, serverIP, serverPort, resultIP, resultPort, logging)
Starts a simulation using the RemoteSystem. |
<static> function
|
runNet2(net, name, startTime, endTime)
Starts the simulation of the given net with the given parameters. |
| Constructor Detail |
function System()
| Method Detail |
<static> function command(cmdLine)
cmdLine - A line of command(s) to execute.
<static> function copyFile(source, dest)
source - The source file (name + path)
dest - The destination file (name + path)
<static> function failed()
<static> function getValue(resultName, netName)
resultName - The name of the result measure to get the value for
netName - The name of the net file (without extension) the measure belongs to
<static> function ok()
<static> function runNet(name, startTime, endTime, serverIP, serverPort, resultIP, resultPort, logging)
name - The full name of the net file
startTime - The simulation's start time
endTime - The simulation's end time
serverIP - The IP of the machine where the RemoteServer is running. Can be null or "localhost" as well as a usual IP address
serverPort - The listening port of the RemoteServer
resultIP - The IP of the machine where the ResultMonitor is running. Can be null or "localhost" as well as a usual IP address
resultPort - The listening port of the ResultMonitor
logging - Activates the logging function of the simulation if set to true
<static> function runNet2(net, name, startTime, endTime)
net - The net to simulate
name - of the temporary file to create
startTime - Time of simualtion start, using TimeNET standard time format ("time
endTime - Time of simulation end, using TimeNET standard time format ("time
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||