cad.simcad.objectserver.factory
Class SimulationFactory

java.lang.Object
  |
  +--cad.simcad.objectserver.factory.SimulationFactory

public class SimulationFactory
extends java.lang.Object

Factory for the Simulator engine

Version:
1.0
Author:
Charles-Philip Bentley

Constructor Summary
SimulationFactory()
          Creates new SimulationFactory
 
Method Summary
static Simulator createSimulation(SimEnvironment se, SimViewer sv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulationFactory

public SimulationFactory()
Creates new SimulationFactory

Method Detail

createSimulation

public static Simulator createSimulation(SimEnvironment se,
                                         SimViewer sv)
Parameters:
se - A SimEnvironment to simulate
sv - the Viewer of the simulation
Pre:
-
Returns:
the new Simulator
Post:
a Simulator object. The object is initialized with sv. The simulator is not running

Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be