Package eu.bandm.sighkn
Class SigSequencer.FloatColumn
- All Implemented Interfaces:
CompilableDataFlow,FloatSignalSource,FloatSupplier,SignalSource<Float>,Supplier<Float>
- Enclosing class:
- SigSequencer
public class SigSequencer.FloatColumn
extends SigSequencer.Column<Float>
implements FloatSignalSource
-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.bandm.sig.adlib.FloatSignalSource
FloatSignalSource.CompilableFloatBinaryOperator, FloatSignalSource.FloatAddOperator, FloatSignalSource.FloatDivOperator, FloatSignalSource.FloatMultOperator, FloatSignalSource.FloatSubOperatorNested 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
FieldsFields inherited from class eu.bandm.sighkn.SigSequencer.Column
columnNumber, loadIndex, src -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voiddump()voiddup()get()Returns the current value of the signal.floatReturns the current value of the signal.voidload(float f) (package private) void(package private) voidloadOneValue(Scanner sc, int i) (package private) voidstartLoading(int i, @Opt String src)
-
Field Details
-
data
protected float[] data
-
-
Constructor Details
-
FloatColumn
FloatColumn(int i)
-
-
Method Details
-
get
Description copied from interface:FloatSignalSourceReturns the current value of the signal.- Specified by:
getin interfaceFloatSignalSource- Specified by:
getin interfaceSignalSource<Float>- Specified by:
getin interfaceSupplier<Float>- Specified by:
getin classSigSequencer.Column<Float>
-
getAsFloat
public float getAsFloat()Description copied from interface:FloatSignalSourceReturns 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:
getAsFloatin interfaceFloatSignalSource- Specified by:
getAsFloatin interfaceFloatSupplier- Returns:
- the current value of the signal.
-
startLoading
- Overrides:
startLoadingin classSigSequencer.Column<Float>
-
load
public void load(float f) -
load
- Specified by:
loadin classSigSequencer.Column<Float>
-
dup
public void dup()- Specified by:
dupin classSigSequencer.Column<Float>
-
loadOneValue
- Specified by:
loadOneValuein classSigSequencer.Column<Float>
-
dump
void dump()- Specified by:
dumpin classSigSequencer.Column<Float>
-