|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.sun.j3d.audioengines.AudioEngineThread
public class AudioEngineThread
The Thread Class extended for Audio Device engines that must process calls dynamically, in 'real-time" to asynchronously change engine parameters.
NOTE: this class is probably not needed for those Audio Device implementations that handle all dynamic parameters in the low-level audio library.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
AudioEngineThread(java.lang.ThreadGroup t,
java.lang.String threadName)
This constructor simply assigns the given id. |
Method Summary | |
---|---|
void |
cleanup()
|
void |
doWork()
This method is defined by all slave threads to implement one iteration of work. |
void |
finish()
This causes the threads run method to exit. |
void |
initialize()
This initializes this thread. |
void |
run()
|
void |
runMonitor(int action,
long referenceTime,
java.lang.Object[] args)
|
void |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AudioEngineThread(java.lang.ThreadGroup t, java.lang.String threadName)
Method Detail |
---|
public void doWork()
public void initialize()
public void finish()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void runMonitor(int action, long referenceTime, java.lang.Object[] args)
public void shutdown()
public void cleanup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |