public class Filter
extends org.lsst.ccs.framework.ConfigurableComponent
| Constructor and Description |
|---|
Filter(String name,
int id,
double weight) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeLocation(FcsEnumerations.FilterLocation filterLocation)
Change the location of the filter and publish on the bus.
|
Integer |
getFilterID() |
FcsEnumerations.FilterLocation |
getFilterLocation() |
String |
getSocketName() |
double |
getWeight() |
boolean |
isOnAutoChanger() |
boolean |
isOnCarousel() |
boolean |
isOut() |
boolean |
isUnknown() |
void |
publishData()
Creates an object StatusDataPublishedByFilter and publishes it on the
Status Bus for trending data base and GUIs.
|
void |
putFilterOnSocket(String socketName)
This filter is now on carousel in socket given by its name.
|
void |
removeFromCarousel()
This method is call by the CarouselSocket when the filter is not seen
anymore by the filter presence sensor at STANDBY position.
|
void |
setFilterID(Integer filterID) |
void |
setFilterLocation(FcsEnumerations.FilterLocation filterLocation) |
void |
setName(String name) |
void |
setSocketName(String socketName) |
void |
setWeight(double weight) |
String |
toString() |
getChildren, getEnvironment, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchange, getCheckedValueFromConfiguration, getComponentByName, getFullPath, getName, getParent, getParentObject, getSubsystem, init, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, postStart, setBulkParameter, shutdownNow, start, submitChange, submitChanges, validateBulkChangepublic Filter(String name, int id, double weight)
public void setName(String name)
public boolean isOnCarousel()
public boolean isOnAutoChanger()
public boolean isOut()
public boolean isUnknown()
public FcsEnumerations.FilterLocation getFilterLocation()
public void setFilterLocation(FcsEnumerations.FilterLocation filterLocation)
public Integer getFilterID()
public void setFilterID(Integer filterID)
public double getWeight()
public void setWeight(double weight)
public String getSocketName()
public void setSocketName(String socketName)
public void putFilterOnSocket(String socketName)
socketName - public void removeFromCarousel()
public void changeLocation(FcsEnumerations.FilterLocation filterLocation)
filterLocation - public void publishData()
Copyright © 2016 LSST. All rights reserved.