public abstract class FloatStoredSignalSource extends Object implements FloatClockedSignalSource
float
whose output is the value of a variable that is
updated only as driven by a clock.
The current value is stored in the field out
, which
needs to be written by the method Process.step(RealtimeContext)
.
FloatClockedSignalSource.AbstractRandom
Process.Proxy
Modifier and Type | Field and Description |
---|---|
protected float |
out
The stored value of this signal source.
|
STREAM_CHARACTERISTICS, STREAM_SIZE
Constructor and Description |
---|
FloatStoredSignalSource() |
Modifier and Type | Method and Description |
---|---|
float |
getAsFloat()
Returns the current value of this signal source.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adHoc, after, clock, compile, cycle, dt, during, random, random, random, randomGaussian, randomGaussian, randomGaussian, rate
abs, add, choose, choose, choose, choose, clock, compileDataFlow, compileMainSignalSource, constant, defined, delayed, delayed, delayedFeedback, delayedFeedback, divide, equal, getConstantAsFloat, getValueClass, glidingAverage, glidingStandardDeviation, glidingSum, glidingVariance, greaterOrEqual, greaterThan, guard, hasConstantAsFloat, invariant, lessOrEqual, lessThan, map, max, min, modulo, multiply, negate, negative, nonEqual, nonnegative, nonpositive, nonzero, notANumber, positive, power, probe, publishStoredValueVariable, relateWith, sampleAndHold, selectAffine, series, sqrt, stored, subtract, zero, zeroCrossing, zipWith
compileDataFlowTo, hasDataFlowIO
afterEvery, andThen, compileAsMainProcess, compileControlFlow, compileInitialization, every, getProcess, hasControlFlowIO, hasInitializationIO, init, probe, sequence, sequence, step
public final float getAsFloat()
The value may be either computed on demand, or retrieved from storage.
Implementations of this method should have no side effect.
getAsFloat
in interface FloatSignalSource
getAsFloat
in interface FloatSupplier
out