vanetsim
Class ConsoleStart

java.lang.Object
  extended by vanetsim.ConsoleStart
All Implemented Interfaces:
java.lang.Runnable

public final class ConsoleStart
extends java.lang.Object
implements java.lang.Runnable

This is the main class for the VANet-Simulator which starts the GUI and all other components.


Constructor Summary
ConsoleStart(java.lang.String mapFile, java.lang.String scenarioFile, java.lang.String simulationTime)
          Starts the simulator in console mode
 
Method Summary
static SimulationMaster getSimulationMaster()
          Returns the simulation master (for example in order to stop or start simulation).
 void run()
          Thread which creates the GUI.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleStart

public ConsoleStart(java.lang.String mapFile,
                    java.lang.String scenarioFile,
                    java.lang.String simulationTime)
Starts the simulator in console mode

Parameters:
mapFile - path of the used map
scenarioFile - path of the used scenario
simulationTime - the simulation time in milliseconds
Method Detail

run

public void run()
Thread which creates the GUI.

Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run()

getSimulationMaster

public static SimulationMaster getSimulationMaster()
Returns the simulation master (for example in order to stop or start simulation).

Returns:
the simulation master