org.lsst.ccs.subsystems.fcs
Class FilterClampXminusModule

java.lang.Object
  extended by java.util.Observable
      extended by org.lsst.ccs.framework.Module
          extended by org.lsst.ccs.subsystems.fcs.FilterClampModule
              extended by org.lsst.ccs.subsystems.fcs.FilterClampXminusModule
All Implemented Interfaces:
java.io.Serializable, java.util.Observer, FilterClamp

public class FilterClampXminusModule
extends FilterClampModule

This classe represents a ClampX- : a clamp which holds a filter on the carousel on the side X- It is a concrete class for the abstract class FilterClampModule. It has a sensor to mesure if the clamp is locked or not. The sensor returns a numeric value. The clamp is locked if this value is between minValue and maxValue.

Author:
virieux
See Also:
Serialized Form

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.subsystems.fcs.FilterClampModule
filterPresence, publishedByClamp, publishedByClampOutputName, state
 
Fields inherited from class org.lsst.ccs.framework.Module
log, name, nObserverThreads, registry, tickMillis
 
Constructor Summary
FilterClampXminusModule()
           
 
Method Summary
 Sensor getLockSensor()
           
 boolean isLocked()
          Method to be overrided in the concrete classes : It depends on the type of the clamp.
 void setLockSensor(Sensor lockSensor)
           
 
Methods inherited from class org.lsst.ccs.subsystems.fcs.FilterClampModule
getFilterPresenceSensor, getState, getStatusData, getValueA, getValueB, getValueC, initModule, initPublishedData, isFilterEngaged, isUpdateCompleted, release, setFilterPresenceSensor, setState, setUpdateCompleted, setValueA, setValueB, setValueC, tick, unlock, updateStateWithSensors
 
Methods inherited from class org.lsst.ccs.framework.Module
getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, processUpdate, publishData, publishData, publishData, publishData, sendToReply, sendToStatus, setBeanName, setContext, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownNow, start, 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, toString, wait, wait, wait
 
Methods inherited from interface org.lsst.ccs.subsystems.fcs.common.FilterClamp
getName, getTickMillis
 

Constructor Detail

FilterClampXminusModule

public FilterClampXminusModule()
Method Detail

getLockSensor

public Sensor getLockSensor()
Returns:
the lockSensor

setLockSensor

public void setLockSensor(Sensor lockSensor)
Parameters:
lockSensor - the lockSensor to set

isLocked

public boolean isLocked()
Description copied from class: FilterClampModule
Method to be overrided in the concrete classes : It depends on the type of the clamp.

Specified by:
isLocked in interface FilterClamp
Specified by:
isLocked in class FilterClampModule


Copyright © 2012 LSST. All Rights Reserved.