Class CompilableDoubleStoredSignalSource
- All Implemented Interfaces:
AbstractClockedSignalSource
,AbstractSignalSource
,CompilableControlFlow
,CompilableDataFlow
,Component
,DoubleClockedSignalSource
,DoubleSignalSource
,Process
,DoubleSupplier
- Direct Known Subclasses:
DoubleClockedSignalSource.AbstractRandom
,DoubleDelay
,DoubleMultiDelay
,DoubleUpsamplingSignalSource
-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.bandm.sig.adlib2.DoubleClockedSignalSource
DoubleClockedSignalSource.AbstractRandom
Nested classes/interfaces inherited from interface eu.bandm.sig.adlib2.Process
Process.Proxy
-
Field Summary
Fields inherited from class eu.bandm.sig.adlib2.DoubleStoredSignalSource
out
Fields inherited from interface eu.bandm.sig.adlib2.AbstractClockedSignalSource
STREAM_CHARACTERISTICS, STREAM_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Consumer<CompilationContext>
Compiles the state transition of this process.final Consumer<CompilationContext>
Returns a code generator for outputting the value of this entity.Compiles the initialization of this process.protected Consumer<CompilationContext>
protected VariableContext.Variable
getStoredValueVariable
(CompilationContext context) void
Methods inherited from class eu.bandm.sig.adlib2.DoubleStoredSignalSource
getAsDouble
Methods inherited from class eu.bandm.sig.adlib2.AbstractProcess
getRealtimeContext, setRealtimeContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.bandm.sig.adlib2.compile.CompilableDataFlow
compileDataFlowTo, hasDataFlowIO
Methods inherited from interface eu.bandm.sig.adlib2.DoubleClockedSignalSource
after, compile, during, spliterator, stream
Methods inherited from interface eu.bandm.sig.adlib2.DoubleSignalSource
abs, add, asInt, compileMainSignalSource, DEBUG, 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, zipWith
Methods inherited from interface eu.bandm.sig.adlib2.Process
afterEvery, andThen, compileAsMainProcess, every, every, getProcess, hasControlFlowIO, hasInitializationIO, init, setRealtimeContext, step
-
Constructor Details
-
CompilableDoubleStoredSignalSource
public CompilableDoubleStoredSignalSource()
-
-
Method Details
-
compileDataFlow
Description copied from interface:DoubleSignalSource
Returns a code generator for outputting the value of this entity.This implementation generates code to invoke
this.getAsDouble()
. -
compileInitialization
Description copied from interface:Process
Compiles the initialization of this process.This method emits code equivalent to the
Process.init()
method of this component. The compilation context should be set up to specify no input or output variables.The default implementation emits code that simply invokes
Process.init()
for this process.This method should be overridden together with
Process.compileControlFlow()
, in order to ensure that both operate on the same state variables. -
compileControlFlow
Description copied from interface:Process
Compiles the state transition of this process.This method emits code equivalent to the
Process.step()
method of this process. The compilation context should be set up to specify no input or output variables.The default implementation emits code that simply invokes
Process.step()
for this process.This method should be overridden together with
Process.compileInitialization()
, in order to ensure that both operate on the same state variables. -
getStoredValueVariable
-
compileSetStoredValueVariable
-
publishStoredValueVariable
-