Package eu.bandm.sig.adlib2
Class DoubleStoredSignalSource
java.lang.Object
eu.bandm.sig.adlib2.AbstractProcess
eu.bandm.sig.adlib2.DoubleStoredSignalSource
- All Implemented Interfaces:
AbstractClockedSignalSource,AbstractSignalSource,Component,DoubleClockedSignalSource,DoubleSignalSource,Process,DoubleSupplier
- Direct Known Subclasses:
DoubleClockedSignalSource.AbstractRandom,DoubleDelay,DoubleEnvelope,DoubleFMOsci,DoubleFractionalDelay,DoubleMultiDelay,DoubleOctaveRepeatingTabledTuning,DoubleProcessMux,DoubleSaH,DoubleTableOscillator,DoubleUpsamplingSignalSource
@Generated(generator="eu.bandm.tools.expander",
version="1.3.1",
timestamp="2026-10-23T14:02:07")
public abstract class DoubleStoredSignalSource
extends AbstractProcess
implements DoubleClockedSignalSource
Common base class for signal (time-dependent value) sources of
primitive type
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().
-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.bandm.sig.adlib2.DoubleClockedSignalSource
DoubleClockedSignalSource.AbstractRandomNested classes/interfaces inherited from interface eu.bandm.sig.adlib2.Process
Process.Proxy -
Field Summary
FieldsFields inherited from interface eu.bandm.sig.adlib2.AbstractClockedSignalSource
STREAM_CHARACTERISTICS, STREAM_SIZE -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreates a new instance.protectedDoubleStoredSignalSource(Optional<ConstantRealtimeContext> realtimeContext) Creates a new instance of a derived class with a fixed realtime context. -
Method Summary
Modifier and TypeMethodDescriptionfinal doubleReturns the current value of this signal source.Methods inherited from class eu.bandm.sig.adlib2.AbstractProcess
getRealtimeContext, hasFixedConstantRealtimeContext, setRealtimeContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.bandm.sig.adlib2.DoubleClockedSignalSource
after, drain, drain, during, spliterator, streamMethods inherited from interface eu.bandm.sig.adlib2.DoubleSignalSource
abs, add, asDouble, asFloat, asInt, ceil, clockedAfter, defined, delayed, delayed, divide, equal, floor, 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, relateWith, sampleAndHold, selectAffine, series, sqrt, stored, subtract, zero, zeroCrossing, zipWithMethods inherited from interface eu.bandm.sig.adlib2.Process
afterEvery, andThen, conditional, every, every, getProcess, init, setRealtimeContext, step
-
Field Details
-
out
protected double outThe stored value of this signal source.
-
-
Constructor Details
-
DoubleStoredSignalSource
Creates a new instance of a derived class with a fixed realtime context.The given realtime context is actually ignored by this constructor. It exists for purposes of regularity.
- Parameters:
realtimeContext- an optional realtime context
-
DoubleStoredSignalSource
public DoubleStoredSignalSource()Creates a new instance.
-
-
Method Details
-
getAsDouble
public final double getAsDouble()Returns the current value of this signal source.The value may be either computed on demand, or retrieved from storage.
Implementations of this method should have no side effect.
- Specified by:
getAsDoublein interfaceDoubleSignalSource- Specified by:
getAsDoublein interfaceDoubleSupplier- Returns:
- the current value of
out
-