Class CompilableDoubleStoredSignalSource
- All Implemented Interfaces:
AbstractClockedSignalSource,AbstractSignalSource,CompilableControlFlow,CompilableDataFlow,Component,DoubleClockedSignalSource,DoubleSignalSource,Process,DoubleSupplier
- Direct Known Subclasses:
DoubleClockedSignalSource.AbstractRandom,DoubleDelay,DoubleFractionalDelay,DoubleMultiDelay,DoubleUpsamplingSignalSource
-
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
Fields inherited from class eu.bandm.sig.adlib2.DoubleStoredSignalSource
outFields inherited from interface eu.bandm.sig.adlib2.AbstractClockedSignalSource
STREAM_CHARACTERISTICS, STREAM_SIZE -
Constructor Summary
Constructors -
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 eu.bandm.tools.lljava.live.VariableContext.VariablegetStoredValueVariable(CompilationContext context) voidMethods inherited from class eu.bandm.sig.adlib2.DoubleStoredSignalSource
getAsDoubleMethods inherited from class eu.bandm.sig.adlib2.AbstractProcess
getRealtimeContext, 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.compile.CompilableDataFlow
compileDataFlowTo, hasDataFlowIOMethods inherited from interface eu.bandm.sig.adlib2.DoubleClockedSignalSource
after, compile, drain, drain, during, spliterator, streamMethods inherited from interface eu.bandm.sig.adlib2.DoubleSignalSource
abs, add, asDouble, asFloat, asInt, ceil, 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, zipWithMethods 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:DoubleSignalSourceReturns a code generator for outputting the value of this entity.This implementation generates code to invoke
this.getAsDouble(). -
compileInitialization
Description copied from interface:ProcessCompiles 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.- See Also:
-
compileControlFlow
Description copied from interface:ProcessCompiles 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.- See Also:
-
getStoredValueVariable
protected eu.bandm.tools.lljava.live.VariableContext.Variable getStoredValueVariable(CompilationContext context) -
compileSetStoredValueVariable
-
publishStoredValueVariable
-