public abstract class BinaryOpModule
extends org.lsst.ccs.framework.Module
| Modifier and Type | Field and Description |
|---|---|
protected double |
current1 |
protected double |
current2 |
| Constructor and Description |
|---|
BinaryOpModule() |
| Modifier and Type | Method and Description |
|---|---|
String |
getInput1() |
String |
getInput2() |
String |
getOutput() |
abstract double |
op()
Computes the output from the current values of the input parameters.
|
void |
processUpdate(Observable source,
org.lsst.ccs.framework.Module.ValueUpdate update) |
void |
setInput1(String input1)
The name of input parameter 1, will be checked when update is called.
|
void |
setInput2(String input2)
The name of input parameter 2, will be checked when update is called.
|
void |
setOutput(String output)
The name used to broadcast the result
|
void |
tick() |
alias, change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getComponentByName, getComponentDictionariesTree, getComponentTree, getContext, getDictionary, getEnvironment, getMainDictionary, getModule, getName, getNObserverThreads, getObservables, getParent, getSubsystem, getTickMillis, init, initModule, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, percolateSignal, publish, publish, publish, publish, publish, publish, publishData, publishData, publishData, publishData, publishData, publishData, publishData, register, sendSignal, sendSignal, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, signal, start, startTicking, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic String getInput1()
public void setInput1(String input1)
input1 - public String getInput2()
public void setInput2(String input2)
input2 - public String getOutput()
public void setOutput(String output)
output - public abstract double op()
public void processUpdate(Observable source, org.lsst.ccs.framework.Module.ValueUpdate update)
processUpdate in class org.lsst.ccs.framework.Modulepublic void tick()
tick in class org.lsst.ccs.framework.ModuleCopyright © 2014 LSST. All Rights Reserved.