org.lsst.ccs.subsystem.common
Class Adder

java.lang.Object
  extended by java.util.Observable
      extended by org.lsst.ccs.framework.Module
          extended by org.lsst.ccs.subsystem.common.BinaryOpModule
              extended by org.lsst.ccs.subsystem.common.Adder
All Implemented Interfaces:
java.io.Serializable, java.util.Observer

public class Adder
extends BinaryOpModule

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module
org.lsst.ccs.framework.Module.ValueUpdate
 
Field Summary
 
Fields inherited from class org.lsst.ccs.subsystem.common.BinaryOpModule
current1, current2
 
Fields inherited from class org.lsst.ccs.framework.Module
log, name, nObserverThreads, registry, tickMillis
 
Constructor Summary
Adder()
           
 
Method Summary
 double op()
          Computes the output from the current values of the input parameters.
 
Methods inherited from class org.lsst.ccs.subsystem.common.BinaryOpModule
getInput1, getInput2, getOutput, processUpdate, setInput1, setInput2, setOutput, tick
 
Methods inherited from class org.lsst.ccs.framework.Module
getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, initModule, listens, publishData, publishData, publishData, publishData, sendToReply, sendToStatus, setBeanName, setContext, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownNow, start, 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

Adder

public Adder()
Method Detail

op

public double op()
Description copied from class: BinaryOpModule
Computes the output from the current values of the input parameters. This method has to be overriden by derived class.

Specified by:
op in class BinaryOpModule
Returns:
the result


Copyright © 2012 LSST. All Rights Reserved.