Boeing Simulation 3.1 API Specification

worldsimulator
Class SimulatorComponentGenerator

java.lang.Object
  |
  +--worldsimulator.SimulatorComponentGenerator

public class SimulatorComponentGenerator
extends Object

Generates the objects which will tie in to the ComponentBasedSimulator and to the rest of the simulation.

Version:
$Revision: 1.21 $
Author:
Dave Jurgens

Field Summary
static int DEFAULT_PORT
           
private  int numberOfBuses
           
private  int numberOfSchools
           
private  int numberOfTanks
           
private  int numberOfUAVs
           
private  int numberOfUCAVs
           
private  Map objectsToConnections
           
private  connect.CreatesConnection toSimulator
           
private  connect.CreatesConnection toUAVManager
           
private  connect.CreatesConnection toUCAVManager
           
private  int type
           
 
Constructor Summary
SimulatorComponentGenerator(String uavManagerHost, String ucavManagerHost, String simulatorHost, int numberOfUAVs, int numberOfUCAVs, int numberOfBuses, int numberOfTanks, int numberOfSchools)
           
 
Method Summary
 Map getConnections()
           
static void main(String[] args)
           
private  int nextType()
           
 void run()
           
private  void startRequestThread()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values

toUAVManager

private final connect.CreatesConnection toUAVManager

toUCAVManager

private final connect.CreatesConnection toUCAVManager

toSimulator

private final connect.CreatesConnection toSimulator

numberOfUAVs

private final int numberOfUAVs

numberOfUCAVs

private final int numberOfUCAVs

numberOfBuses

private final int numberOfBuses

numberOfTanks

private final int numberOfTanks

numberOfSchools

private final int numberOfSchools

objectsToConnections

private final Map objectsToConnections

type

private int type
Constructor Detail

SimulatorComponentGenerator

public SimulatorComponentGenerator(String uavManagerHost,
                                   String ucavManagerHost,
                                   String simulatorHost,
                                   int numberOfUAVs,
                                   int numberOfUCAVs,
                                   int numberOfBuses,
                                   int numberOfTanks,
                                   int numberOfSchools)
Method Detail

nextType

private int nextType()

run

public void run()

startRequestThread

private void startRequestThread()

getConnections

public Map getConnections()

main

public static void main(String[] args)

Boeing Simulation 3.1 API Specification

To submit a bug or feature email the author of that class. Funding for this research was provided by Boeing and DARPA.