|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
mns.Command
public abstract class Command
| 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 | |
|---|---|
Command(java.lang.String name)
|
|
| Method Summary | |
|---|---|
protected void |
addListener()
private method for adding this to the biodevices as a listener |
Command |
cloneCommand()
|
int |
getAssignDevices()
|
java.lang.String |
getBioname()
|
java.lang.Object[] |
getCommand()
|
int |
getExecDependency()
|
int |
getExecMode()
|
int |
getExecType()
|
java.lang.Object[] |
getInstructions()
|
char |
getKey()
|
int |
getMode()
|
MNSRobotPart |
getPart()
|
int |
getPeriod()
|
boolean |
isDone()
|
boolean |
isNominal()
|
void |
setAssignDevices(int assignDevices)
|
void |
setCommand(java.lang.Object[] command)
|
void |
setDone(boolean done)
|
void |
setExecDependency(int execDependency)
|
void |
setExecMode(int execMode)
|
void |
setexecPeriod(int execPeriod)
external tool to modify the execution period |
void |
setExecType(int execType)
|
void |
setKey(char key)
|
void |
setNominal(boolean isNominal)
|
void |
setPart(MNSRobotPart part)
|
void |
setSingleCom(java.lang.Object o,
int index)
set a single instruction at index |
| 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, run, 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 biocell.BioDeviceListener |
|---|
bioEvent |
| Methods inherited from interface mns.Commandable |
|---|
getName, setName |
| Constructor Detail |
|---|
public Command(java.lang.String name)
| Method Detail |
|---|
public java.lang.Object[] getCommand()
getCommand in interface Commandablepublic void setCommand(java.lang.Object[] command)
setCommand in interface Commandablecommand - The command to set.public void setexecPeriod(int execPeriod)
setexecPeriod in interface CommandableexecPeriod - integer
public void setSingleCom(java.lang.Object o,
int index)
setSingleCom in interface Commandableo - -
the instructionindex - -
the index of the instructionpublic java.lang.Object[] getInstructions()
getInstructions in interface Commandablepublic int getPeriod()
getPeriod in interface Commandablepublic int getMode()
getMode in interface Commandablepublic Command cloneCommand()
cloneCommand in interface Commandablepublic int getExecMode()
getExecMode in interface Commandablepublic void setExecMode(int execMode)
setExecMode in interface CommandableexecMode - The execMode to set.public int getExecType()
getExecType in interface Commandablepublic void setExecType(int execType)
setExecType in interface CommandableexecType - The execType to set.public int getExecDependency()
getExecDependency in interface Commandablepublic void setExecDependency(int execDependency)
setExecDependency in interface CommandableexecDependency - The execDependency to set.public boolean isNominal()
isNominal in interface Commandablepublic void setNominal(boolean isNominal)
setNominal in interface CommandableisNominal - The isNominal to set.public int getAssignDevices()
getAssignDevices in interface Commandablepublic void setAssignDevices(int assignDevices)
setAssignDevices in interface CommandableassignDevices - The assignDevices to set.public MNSRobotPart getPart()
getPart in interface Commandablepublic void setPart(MNSRobotPart part)
setPart in interface Commandablepart - The part to set.public boolean isDone()
isDone in interface Commandablepublic void setDone(boolean done)
setDone in interface Commandabledone - The done to set.protected void addListener()
public char getKey()
public void setKey(char key)
key - The key to set.public java.lang.String getBioname()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||