public class FloatDelayVector extends AbstractList<FloatDelay> implements FloatSignalSourceVector<FloatDelay>, Process, Register
float.
Instances of this class are intended for grouping single-step delay signal sources and routing parallel data flow at contruction time of a network. They do not themselves contribute to realtime behavior.
FloatDelayFloatSignalSourceVector.Mutable<S extends FloatSignalSource>Process.ProxymodCount| Constructor and Description |
|---|
FloatDelayVector(float... initialValues) |
FloatDelayVector(float[] initialValues,
FloatSignalSourceVector<?> inputs) |
FloatDelayVector(float[] initialValues,
Function<? super FloatDelayVector,? extends FloatSignalSourceVector<?>> in) |
| Modifier and Type | Method and Description |
|---|---|
Consumer<CompilationContext> |
compileControlFlow()
Compiles the state transition of this process.
|
Consumer<CompilationContext> |
compileInitialization()
Compiles the initialization of this process.
|
FloatDelay |
get(int index) |
Process |
getLoadPhase() |
Process |
getStorePhase() |
void |
init()
Initializes the state of this process.
|
void |
setInputs(FloatSignalSourceVector<?> inputs) |
int |
size() |
void |
step(RealtimeContext context)
Signals a time event, executing a transition step for this process to the
next observable state.
|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitappend, empty, iterate, map, of, of, of, of, repeat, singleton, sizeCompatibleWith, sizeCompatibleWith, sizeCompatibleWith, stored, zipWithadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streamafterEvery, andThen, compile, compileAsMainProcess, every, getProcess, hasControlFlowIO, hasInitializationIO, probe, sequence, sequenceandMeanwhile, andMeanwhile@Undocumented @SafeVarargs public FloatDelayVector(float... initialValues)
@Undocumented public FloatDelayVector(float[] initialValues, FloatSignalSourceVector<?> inputs)
@Undocumented public FloatDelayVector(float[] initialValues, Function<? super FloatDelayVector,? extends FloatSignalSourceVector<?>> in)
@Undocumented public int size()
size in interface Collection<FloatDelay>size in interface List<FloatDelay>size in class AbstractCollection<FloatDelay>@Undocumented public FloatDelay get(int index)
get in interface List<FloatDelay>get in class AbstractList<FloatDelay>@Undocumented public void setInputs(FloatSignalSourceVector<?> inputs)
@Undocumented public void init()
ProcessProcess.step(RealtimeContext) transitions to
the first specified observable state.
The default implementation does nothing.
@Undocumented public void step(RealtimeContext context)
ProcessThe state of the process after successful completion of this method
should be the n-th observable state, if Process.step(eu.bandm.sig.adlib2.RealtimeContext) has been
invoked n times since the last initialization via Process.init().
The behavior of this method is unspecified if Process.init() has not been
invoked before.
If this method completes abruptly by throwing an error or unchecked exception, the process state should be considered invalid.
@Undocumented public Process getLoadPhase()
getLoadPhase in interface Register@Undocumented public Process getStorePhase()
getStorePhase in interface Register@Undocumented public Consumer<CompilationContext> compileInitialization()
ProcessThis 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.
compileInitialization in interface CompilableControlFlowcompileInitialization in interface ProcessProcess.hasInitializationIO(eu.bandm.sig.adlib2.compile.CompilationContext)@Undocumented public Consumer<CompilationContext> compileControlFlow()
ProcessThis method emits code equivalent to the Process.step(RealtimeContext)
method of this process. The compilation context should be set up to
specify a single input variable of type RealtimeContext and no
output variables.
The default implementation emits code that simply invokes Process.step(RealtimeContext) for this process.
This method should be overridden together with Process.compileInitialization(), in order to ensure that both operate on the same
state variables.
compileControlFlow in interface CompilableControlFlowcompileControlFlow in interface ProcessProcess.hasControlFlowIO(eu.bandm.sig.adlib2.compile.CompilationContext)