|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread mns.Command mns.CommandThread mns.SpeachThread
public class SpeachThread
Created on Jun 28, 2004 For specific purposes a Threadded command is an internal class allowing to run commands on one self and generate some regular, cyclic, time-variant behavior. Thus by default this type of command will be called when the period parameter is found durring creation of this command the default state is described by PERIODIC_ACT and RRANGE_VALUE_MODE
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 |
Fields inherited from interface mns.Commandable |
---|
DELAYED_ACT, MULTIPLE_ACT, PERIODIC_ACT, RANDOM_VALUE_MODE, REPEAT_VALUE_MODE, RRANGE_VALUE_MODE, SINGLE_ACT |
Constructor Summary | |
---|---|
SpeachThread(java.lang.String name)
|
Method Summary | |
---|---|
void |
bioEvent(BioDeviceEvent bdE)
some commands can be coordinated through events such as speech or some other cyclic or random movements this serves to time coordinating them |
void |
energyConsumed(EnergyPrimitive ep)
|
void |
run()
|
Methods inherited from class mns.CommandThread |
---|
addListener, getParentThread, setParentThread |
Methods inherited from class mns.Command |
---|
cloneCommand, getAssignDevices, getBioname, getCommand, getExecDependency, getExecMode, getExecType, getInstructions, getKey, getMode, getPart, getPeriod, isDone, isNominal, setAssignDevices, setCommand, setDone, setExecDependency, setExecMode, setexecPeriod, setExecType, setKey, setNominal, setPart, setSingleCom |
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 |
Methods inherited from interface mns.Commandable |
---|
getName, setName |
Constructor Detail |
---|
public SpeachThread(java.lang.String name)
name
- Method Detail |
---|
public void energyConsumed(EnergyPrimitive ep)
energyConsumed
in class CommandThread
public void bioEvent(BioDeviceEvent bdE)
bioEvent
in interface BioDeviceListener
bioEvent
in class CommandThread
bdE
- -
caught BioDeviceEventpublic void run()
run
in interface java.lang.Runnable
run
in class CommandThread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |