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, getComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, initModule, listens, percolateSignal, postStart, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, getCheckedValueFromConfiguration, getChildren, getComponentByName, getFullPath, getParent, getParentObject, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, proceduralWalk, setBulkParameter, start, submitChange, submitChanges, treeWalk, validateBulkChangepublic 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 © 2015 LSST. All rights reserved.