public class FilterChangerSimulation extends Object implements FilterChangerInterface
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAvailableFilters()
Get a map of available filters, containing the (unique) name of each filter
and the type of each filter
|
String |
getCurrentFilter()
Get the currently installed filter name
|
Duration |
getEstimatedDurationForFilterChange(String filterName)
Get the expected (worse-case) duration to move to new filter
|
List<String> |
getInstalledFilters()
Get a list of currently installed filters
|
void |
setFilter(String filterName)
Set the currently installed filter
|
void |
start(String configName)
Start and lock the filter changer, with the specified configuration
|
public Map<String,String> getAvailableFilters()
FilterChangerInterfacegetAvailableFilters in interface FilterChangerInterfacepublic List<String> getInstalledFilters()
FilterChangerInterfacegetInstalledFilters in interface FilterChangerInterfacepublic void start(String configName)
FilterChangerInterfacestart in interface FilterChangerInterfacepublic String getCurrentFilter()
FilterChangerInterfacegetCurrentFilter in interface FilterChangerInterfacepublic void setFilter(String filterName)
FilterChangerInterfacesetFilter in interface FilterChangerInterfacepublic Duration getEstimatedDurationForFilterChange(String filterName)
FilterChangerInterfacegetEstimatedDurationForFilterChange in interface FilterChangerInterfaceCopyright © 2021 LSST. All rights reserved.