|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.lsst.ccs.framework.Module
org.lsst.ccs.subsystem.common.Sequencer
public class Sequencer
A generic sequencer module. This sequencer module can call methods, set values, sleep for some delay, wait for some state change or update value broadcast, loop... It can accept commands and act as a facade of a whole ModularSubsystem. TODO this should use Groovy DSL
| Nested Class Summary | |
|---|---|
static class |
Sequencer.CallMethod
|
static class |
Sequencer.Goto
|
static class |
Sequencer.Label
|
static class |
Sequencer.SleepMillis
|
static class |
Sequencer.Step
A Step in the programmation of this module |
static class |
Sequencer.Stop
|
static class |
Sequencer.WaitForProperty
|
static class |
Sequencer.WaitForUpdate
|
| Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module |
|---|
org.lsst.ccs.framework.Module.ValueUpdate |
| Nested classes/interfaces inherited from interface org.lsst.ccs.framework.Configurable |
|---|
org.lsst.ccs.framework.Configurable.Environment |
| Field Summary |
|---|
| Fields inherited from class org.lsst.ccs.framework.Module |
|---|
environment, log, name, nObserverThreads, registry, tickMillis |
| Constructor Summary | |
|---|---|
Sequencer()
|
|
| Method Summary | |
|---|---|
void |
execute(String label)
|
int |
findLabel(String label)
|
ArrayList<String> |
getSequence()
|
void |
initModule()
|
protected void |
parseSequence()
|
void |
setSequence(ArrayList<String> sequence)
|
void |
start()
|
| Methods inherited from class org.lsst.ccs.framework.Module |
|---|
alias, change, checkHardware, dropConfigurationContext, getAvailableCommands, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, publishData, publishData, publishData, register, register, removeLogPanicState, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setHandlerLevel, setLogLevel, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, startTicking, tick, 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 |
| Constructor Detail |
|---|
public Sequencer()
| Method Detail |
|---|
public ArrayList<String> getSequence()
public void setSequence(ArrayList<String> sequence)
protected void parseSequence()
public void initModule()
initModule in class org.lsst.ccs.framework.Modulepublic void start()
start in class org.lsst.ccs.framework.Modulepublic int findLabel(String label)
public void execute(String label)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||