|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread biocell.BioThread nns.BioSensor
public class BioSensor
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
static int |
EXTERO_SENSOR
Comment for EXTERO_SENSOR |
static int |
INTERO_SENSOR
Comment for INTERO_SENSOR |
static int |
PROPRIO_SENSOR
Comment for PROPRIO_SENSOR |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Fields inherited from interface biocell.BioDevice |
---|
BLOCKED, BUSY, CYCLING, DONE, END, PAUSED, RESUMED, START, WAIT |
Constructor Summary | |
---|---|
BioSensor(int Type,
java.lang.String portName)
|
Method Summary | |
---|---|
void |
addListener(BioDeviceListener rP)
|
void |
addListener(BioSensorListener listener)
|
void |
addSensorListener(BioSensorListener n)
|
int |
geState()
|
java.lang.String |
getControls()
|
int |
getCurrentPosition()
|
int |
getCurrentState()
|
BioSensorListener |
getListener()
|
java.lang.String |
getname()
|
int |
getType()
|
void |
load(MNSEvent cnE)
simple interface to control all Devices |
void |
loadCNTR(MNSEvent cnE)
|
void |
process(MNSEvent cnv)
loads a CNSEvent into a listener |
void |
seState(int State)
|
void |
setListener(BioSensorListener listener)
|
void |
setname(java.lang.String name)
|
void |
setType(int type)
|
Methods inherited from class biocell.BioThread |
---|
getCurrentmood, getMoodParam, getstate, setMood, stepEnergy |
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 |
Field Detail |
---|
public static final int EXTERO_SENSOR
EXTERO_SENSOR
public static final int INTERO_SENSOR
INTERO_SENSOR
public static final int PROPRIO_SENSOR
PROPRIO_SENSOR
Constructor Detail |
---|
public BioSensor(int Type, java.lang.String portName)
portName
- Method Detail |
---|
public void addListener(BioDeviceListener rP)
addListener
in interface BioDevice
public java.lang.String getControls()
getControls
in interface BioDevice
public int geState()
public void seState(int State)
public void process(MNSEvent cnv)
MNSListener
process
in interface MNSListener
public void addListener(BioSensorListener listener)
public int getCurrentPosition()
getCurrentPosition
in interface BioDevice
public int getCurrentState()
getCurrentState
in interface BioDevice
public void load(MNSEvent cnE)
BioDevice
load
in interface BioDevice
public void loadCNTR(MNSEvent cnE)
loadCNTR
in interface BioDevice
public void addSensorListener(BioSensorListener n)
n
- public BioSensorListener getListener()
public void setListener(BioSensorListener listener)
listener
- The listener to set.public int getType()
public void setType(int type)
type
- The type to set.public java.lang.String getname()
getname
in interface BioDevice
public void setname(java.lang.String name)
name
- The name to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |