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.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
Fields inherited from class eu.bandm.sighkn.SigSequencer.Column
columnNumber, loadIndex, src
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
dump()
void
dup()
get()
Returns the current value of the signal.float
Returns the current value of the signal.void
load
(float f) (package private) void
(package private) void
loadOneValue
(Scanner sc, int i) (package private) void
startLoading
(int i, @Opt String src)
-
Field Details
-
data
protected float[] data
-
-
Constructor Details
-
FloatColumn
FloatColumn(int i)
-
-
Method Details
-
get
Description copied from interface:FloatSignalSource
Returns the current value of the signal.- Specified by:
get
in interfaceFloatSignalSource
- Specified by:
get
in interfaceSignalSource<Float>
- Specified by:
get
in interfaceSupplier<Float>
- Specified by:
get
in classSigSequencer.Column<Float>
-
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.
-
startLoading
- Overrides:
startLoading
in classSigSequencer.Column<Float>
-
load
public void load(float f) -
load
- Specified by:
load
in classSigSequencer.Column<Float>
-
dup
public void dup()- Specified by:
dup
in classSigSequencer.Column<Float>
-
loadOneValue
- Specified by:
loadOneValue
in classSigSequencer.Column<Float>
-
dump
void dump()- Specified by:
dump
in classSigSequencer.Column<Float>
-