public class LoaderHookModule
extends org.lsst.ccs.framework.Module
| Modifier and Type | Field and Description |
|---|---|
protected Lock |
lock |
protected boolean |
updatingState
This is used when we update the latch state with the values returned by
the sensors.
|
| Constructor and Description |
|---|
LoaderHookModule(NumericSensor lockSensor,
NumericSensor unlockSensor) |
| Modifier and Type | Method and Description |
|---|---|
NumericSensor |
getLockSensor() |
FcsEnumerations.LockStatus |
getLockStatus() |
NumericSensor |
getUnlockSensor() |
void |
initModule() |
boolean |
isInError() |
String |
listSensorsValues() |
String |
toString() |
void |
updateStateWithSensors(String[] hexaValues)
This methods updates lockStatus from the values return by the sensors.
|
getNObserverThreads, getObservables, getTickMillis, init, listens, processUpdate, sendSignal, sendSignalWithTimeLimit, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, postStart, printConfigurableParameters, setBulkParameter, start, submitChange, submitChanges, validateBulkChangeprotected final Lock lock
protected volatile boolean updatingState
public LoaderHookModule(NumericSensor lockSensor, NumericSensor unlockSensor)
public NumericSensor getLockSensor()
public NumericSensor getUnlockSensor()
public boolean isInError()
public FcsEnumerations.LockStatus getLockStatus()
public void initModule()
initModule in class org.lsst.ccs.framework.Module@Command(type=ACTION,
level=1,
description="Update state in reading sensors.")
public void updateStateWithSensors(String[] hexaValues)
hexaValues - @Command(type=QUERY,
level=1,
description="display sensors info")
public String toString()
@Command(type=QUERY,
level=1,
description="List and display hook sensors values.")
public String listSensorsValues()
Copyright © 2016 LSST. All rights reserved.