|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.lsst.ccs.framework.Module
org.lsst.ccs.subsystems.fcs.common.Sensor12bits
public abstract class Sensor12bits
This class represents a 12bits sensor : the value returned by the sensor is coded with 12 bits, so its value is between 0 and 4095.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module |
|---|
org.lsst.ccs.framework.Module.ValueUpdate |
| Field Summary |
|---|
| Fields inherited from class org.lsst.ccs.framework.Module |
|---|
log, nObserverThreads, registry, tickMillis |
| Constructor Summary | |
|---|---|
Sensor12bits()
|
|
| Method Summary | |
|---|---|
int |
getMaxValue()
|
int |
getValue()
|
void |
setValue(int aValue)
|
java.lang.String |
toString()
|
void |
updateValue()
This method updates the sensor value : first it reads a new value from the hardware or from the simulated sensor, then it checks if the value is in the range between minimal value and maximal value. |
| Methods inherited from class org.lsst.ccs.framework.Module |
|---|
getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, initModule, listens, processUpdate, publishData, publishData, publishData, publishData, sendToReply, sendToStatus, setBeanName, setContext, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownNow, start, tick, update |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.lsst.ccs.subsystems.fcs.common.Sensor |
|---|
readNewValue |
| Constructor Detail |
|---|
public Sensor12bits()
| Method Detail |
|---|
public int getValue()
getValue in interface Sensorpublic void setValue(int aValue)
public int getMaxValue()
public void updateValue()
updateValue in interface Sensorpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||