physics
Class PhysicalThread

java.lang.Object
  extended byjava.lang.Thread
      extended byphysics.PhysicalThread
All Implemented Interfaces:
java.lang.Runnable

public class PhysicalThread
extends java.lang.Thread

Ein Thread, der zyklisch in einer Schleife Simulationsschritte ausführt.

Version:
1.0 (05/04/25)
Author:
Martin Hedler

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
PhysicalThread(PhysicalEnvironment pE, javax.media.j3d.BranchGroup bg)
          Erstellt eine Instanz dieser Klasse.
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PhysicalThread

public PhysicalThread(PhysicalEnvironment pE,
                      javax.media.j3d.BranchGroup bg)
               throws java.lang.NullPointerException
Erstellt eine Instanz dieser Klasse.

Parameters:
pE - Das PhysicalEnvironment Objekt, welches für die Simulation verwendet werden soll.
bg - Die BranchGroup, welche die DynamicTransformGroup Objekte enthält, welche bewegt werden sollen.
Throws:
java.lang.NullPointerException - Wenn einer der Parameter null ist.
Method Detail

run

public void run()