Package eu.bandm.sighkn
Class FloatSelectByInt
java.lang.Object
eu.bandm.sighkn.FloatSelectByInt
- All Implemented Interfaces:
CompilableDataFlow
,FloatSignalSource
,FloatSupplier
,SignalSource<Float>
,Supplier<Float>
-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.bandm.sig.adlib.FloatSignalSource
FloatSignalSource.CompilableFloatBinaryOperator, FloatSignalSource.FloatAddOperator, FloatSignalSource.FloatDivOperator, FloatSignalSource.FloatMultOperator, FloatSignalSource.FloatSubOperator
Nested classes/interfaces inherited from interface eu.bandm.sig.adlib.SignalSource
SignalSource.AddOperator, SignalSource.CompilableBinaryOperator, SignalSource.Constant<A>, SignalSource.DivOperator, SignalSource.MultOperator, SignalSource.SubOperator
-
Field Summary
Modifier and TypeFieldDescriptionprotected final FloatSignalSource[]
protected final IntSignalSource
-
Constructor Summary
-
Method Summary
-
Field Details
-
switchSource
-
sources
-
-
Constructor Details
-
FloatSelectByInt
-
-
Method Details
-
getAsFloat
public float getAsFloat()Description copied from interface:FloatSignalSource
Returns the current value of the signal.Any implementation of this method should be stateless; its invocation should not have any side effect on the emitter or the observer, except for real time passing until its completion.
- Specified by:
getAsFloat
in interfaceFloatSignalSource
- Specified by:
getAsFloat
in interfaceFloatSupplier
- Returns:
- the current value of the signal.
-