public abstract class DoubleStoredSignalSource extends Object implements DoubleClockedSignalSource
double
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)
.
DoubleClockedSignalSource.AbstractRandom
Process.Proxy
Modifier and Type | Field and Description |
---|---|
protected double |
out
The stored value of this signal source.
|
STREAM_CHARACTERISTICS, STREAM_SIZE
Constructor and Description |
---|
DoubleStoredSignalSource() |
Modifier and Type | Method and Description |
---|---|
double |
getAsDouble()
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, ofSpliterator, ofStream, ofStream, random, random, random, randomGaussian, randomGaussian, randomGaussian, rate, spliterator, stream
abs, add, choose, choose, choose, choose, clock, compileDataFlow, compileMainSignalSource, constant, defined, delayed, delayed, delayedFeedback, delayedFeedback, divide, equal, getConstantAsDouble, getValueClass, glidingAverage, glidingStandardDeviation, glidingSum, glidingVariance, greaterOrEqual, greaterThan, guard, hasConstantAsDouble, 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 double getAsDouble()
The value may be either computed on demand, or retrieved from storage.
Implementations of this method should have no side effect.
getAsDouble
in interface DoubleSignalSource
getAsDouble
in interface DoubleSupplier
out