org.lsst.ccs.subsystems.fcs
Class CarouselSocket

java.lang.Object
  extended by org.lsst.ccs.subsystems.fcs.CarouselSocket
Direct Known Subclasses:
SimuCarouselSocket

public abstract class CarouselSocket
extends java.lang.Object

This is a socket on the carousel : there is 5 sockets on a carousel. When a filter is on the carousel, it is attached at a socket.

Author:
virieux

Constructor Summary
CarouselSocket()
           
CarouselSocket(double position)
          This constructor is for tests.
 
Method Summary
abstract  void engageClampsContact()
           
 FilterClamp getClampXminus()
           
 FilterClamp getClampXplus()
           
 Filter getFilter()
           
 double getPosition()
           
 double getStandbyPosition()
           
 boolean isClampedOnFilter()
           
 boolean isEmpty()
           
 boolean isUnclampedAndEmpty()
           
 void putFilterOnSocket(Filter filter)
           
 java.lang.String releaseClamps()
           
abstract  void releaseClampsContact()
           
 void removeFilter()
           
 void setClampXminus(FilterClamp clampXminus)
           
 void setClampXplus(FilterClamp clampXplus)
           
protected  void setFilter(Filter filter)
           
 void setPosition(double position)
           
 void setStandbyPosition(double standbyPosition)
           
 java.lang.String toString()
           
 java.lang.String unlockClamps()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CarouselSocket

public CarouselSocket()

CarouselSocket

public CarouselSocket(double position)
This constructor is for tests.

Parameters:
position -
Method Detail

getPosition

public double getPosition()

setPosition

public void setPosition(double position)

getFilter

public Filter getFilter()

setFilter

protected void setFilter(Filter filter)

getStandbyPosition

public double getStandbyPosition()

setStandbyPosition

public void setStandbyPosition(double standbyPosition)

isEmpty

public boolean isEmpty()
                throws HardwareErrorDetectedException
Throws:
HardwareErrorDetectedException

getClampXminus

public FilterClamp getClampXminus()
Returns:
the clampXminus

setClampXminus

public void setClampXminus(FilterClamp clampXminus)
Parameters:
clampXminus - the clampXminus to set

getClampXplus

public FilterClamp getClampXplus()
Returns:
the clampXplus

setClampXplus

public void setClampXplus(FilterClamp clampXplus)
Parameters:
clampXplus - the clampXplus to set

unlockClamps

public java.lang.String unlockClamps()
                              throws org.lsst.ccs.bus.BadCommandException,
                                     org.lsst.ccs.bus.ErrorInCommandExecutionException
Throws:
org.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.ErrorInCommandExecutionException

releaseClamps

public java.lang.String releaseClamps()
                               throws org.lsst.ccs.bus.BadCommandException,
                                      org.lsst.ccs.bus.ErrorInCommandExecutionException
Throws:
org.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.ErrorInCommandExecutionException

isClampedOnFilter

public boolean isClampedOnFilter()

isUnclampedAndEmpty

public boolean isUnclampedAndEmpty()

removeFilter

public void removeFilter()

putFilterOnSocket

public void putFilterOnSocket(Filter filter)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

releaseClampsContact

public abstract void releaseClampsContact()

engageClampsContact

public abstract void engageClampsContact()


Copyright © 2011 LSST. All Rights Reserved.