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(DigitalSensor closeSensor,
DigitalSensor openSensor) |
| Modifier and Type | Method and Description |
|---|---|
FcsEnumerations.LockStatus |
getLockStatus() |
void |
initModule() |
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(DigitalSensor closeSensor, DigitalSensor openSensor)
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 - Copyright © 2017 LSST. All rights reserved.