Package eu.bandm.sig.adlib2.lib
Class ByteMux
java.lang.Object
eu.bandm.sig.adlib2.lib.ByteMux
- All Implemented Interfaces:
AbstractSignalSource
,ByteSignalSource
,CompilableDataFlow
,ByteSupplier
-
Field Summary
Modifier and TypeFieldDescription(package private) final IntSignalSource
(package private) final ByteSignalSource[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte
Returns the current value of this signal source.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.bandm.sig.adlib2.ByteSignalSource
abs, add, asInt, compileDataFlow, compileMainSignalSource, DEBUG, delayed, delayed, divide, equal, getConstantAsByte, getValueClass, greaterOrEqual, greaterThan, guard, hasConstantAsByte, invariant, lessOrEqual, lessThan, map, max, min, modulo, multiply, negate, negative, nonEqual, nonnegative, nonpositive, nonzero, positive, power, probe, publishStoredValueVariable, relateWith, sampleAndHold, stored, subtract, zero, zipWith
Methods inherited from interface eu.bandm.sig.adlib2.compile.CompilableDataFlow
compileDataFlowTo, hasDataFlowIO
-
Field Details
-
selector
-
sources
-
-
Constructor Details
-
ByteMux
-
-
Method Details
-
getAsByte
public byte getAsByte()Description copied from interface:ByteSignalSource
Returns the current value of this signal source.The value may be either computed on demand, or retrieved from storage.
Implementations of this method should have no side effect.
- Specified by:
getAsByte
in interfaceByteSignalSource
- Specified by:
getAsByte
in interfaceByteSupplier
- Returns:
- the current value of this signal source
-