Class Adder

java.lang.Object
de.labAlive.core.wiringComponent.WiringComponent
de.labAlive.core.abstractSystem.System
de.labAlive.core.abstractSystem.mi.OnConditionStartableSystem
de.labAlive.baseSystem.MisoSystem
de.labAlive.system.miso.Adder
All Implemented Interfaces:
de.labAlive.system.System
Direct Known Subclasses:
Asynchronizer

public class Adder extends de.labAlive.baseSystem.MisoSystem
Adder with nIn inputs. Handles any signal type.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Adder(boolean... invert)
     
    Adder(int nIn)
    Constructs an adder with nIn inputs.
  • Method Summary

    Modifier and Type
    Method
    Description
    de.labAlive.core.signal.Signal
     
    boolean
    isInvert(int i)
     

    Methods inherited from class de.labAlive.core.abstractSystem.mi.OnConditionStartableSystem

    getImplementation, setColdStartSignal

    Methods inherited from class de.labAlive.core.abstractSystem.System

    connect, doubleAttenuationProperty, doubleAttenuationProperty, doubleDbProperty, doubleDbProperty, doubleProperty, doubleProperty, getInWire, getOutWire, getOutWire, hide, hideSystemOnly, label, name, rebuild, set, show

    Methods inherited from class de.labAlive.core.wiringComponent.WiringComponent

    addSymbol, getMainParameters, getName, longName, name, name, notifyBeforeParameterChange, setStepInterceptor, setSymbol, setSymbolResolver, show, show, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface de.labAlive.system.System

    addSymbol, longName, name, setStepInterceptor, setSymbol, show, show
  • Constructor Details

    • Adder

      public Adder()
    • Adder

      public Adder(boolean... invert)
      Parameters:
      invert - signs of the input signals (true: inverted). Also determines number of inputs.
    • Adder

      public Adder(int nIn)
      Constructs an adder with nIn inputs. All input signals are added.
      Parameters:
      nIn - number of inputs
  • Method Details

    • isInvert

      public boolean isInvert(int i)
    • getSignal

      public de.labAlive.core.signal.Signal getSignal()
      Specified by:
      getSignal in class de.labAlive.core.abstractSystem.mi.OnConditionStartableSystem