|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
javax.media.j3d.J3dThread
javax.media.j3d.StructureUpdateThread
class StructureUpdateThread
The StructureUpdateThread is thread that passes messages to its structure
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
private int[] |
instanceNum
|
private static int[] |
numInstances
Some variables used to name threads correctly |
(package private) J3dStructure |
structure
The structure that this thread works for |
Fields inherited from class javax.media.j3d.J3dThread |
---|
active, args, BEHAVIOR_SCHEDULER, classification, INPUT_DEVICE_SCHEDULER, lastWaitTimestamp, NOTIFY, NOTIFY_AND_WAIT, referenceTime, RENDER_THREAD, RUN, SOUND_SCHEDULER, STOP, type, UPDATE_BEHAVIOR, UPDATE_GEOMETRY, UPDATE_RENDER, UPDATE_RENDERING_ATTRIBUTES, UPDATE_RENDERING_ENVIRONMENT, UPDATE_SOUND, UPDATE_THREAD, UPDATE_TRANSFORM, userStop, WAIT, WORK_THREAD |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
StructureUpdateThread(java.lang.ThreadGroup t,
J3dStructure s,
int threadType)
Just saves the structure |
Method Summary | |
---|---|
(package private) void |
doWork(long referenceTime)
This method is defined by all slave threads to implement one iteration of work. |
(package private) int |
getInstanceNum(int idx)
|
private int |
newInstanceNum(int idx)
|
Methods inherited from class javax.media.j3d.J3dThread |
---|
cleanup, cleanupView, finish, getInstanceNum, getThreadData, initialize, run, runMonitor, shutdown |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
J3dStructure structure
private static int[] numInstances
private int[] instanceNum
Constructor Detail |
---|
StructureUpdateThread(java.lang.ThreadGroup t, J3dStructure s, int threadType)
Method Detail |
---|
private int newInstanceNum(int idx)
int getInstanceNum(int idx)
void doWork(long referenceTime)
J3dThread
doWork
in class J3dThread
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |