Class DoubleVectorMap
- All Implemented Interfaces:
CompilableControlFlow,Component,Process
- Direct Known Subclasses:
DoubleLinearMap
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfaceNested classes/interfaces inherited from interface eu.bandm.sig.adlib2.Process
Process.Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DoubleVectorMap.Computerprotected final DoubleSignalSourceVector.Mutable<DoubleSignalSource> protected final DoubleSignalSourceVector<?> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCompiles the state transition of this process.inputs()protected DoubleSignalSourcemakeOutput(int index) outputs()voidstep()Signals a time event, executing a transition step for this process to the next observable state.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.bandm.sig.adlib2.Process
afterEvery, andThen, compile, compileAsMainProcess, compileInitialization, every, every, getProcess, hasControlFlowIO, hasInitializationIO, init, setRealtimeContext
-
Field Details
-
inputs
-
outputs
-
body
-
-
Constructor Details
-
DoubleVectorMap
-
-
Method Details
-
makeOutput
-
inputs
-
outputs
-
step
public void step()Description copied from interface:ProcessSignals a time event, executing a transition step for this process to the next observable state.The state of the process after successful completion of this method should be the n-th observable state, if
Process.step()has been invoked n times since the last initialization viaProcess.init(). The behavior of this method is unspecified ifProcess.init()has not been invoked before.FIXME:
Process.setRealtimeContext(eu.bandm.sig.adlib2.RealtimeContext)If this method completes abruptly by throwing an error or unchecked exception, the process state should be considered invalid.
-
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.- Specified by:
compileControlFlowin interfaceCompilableControlFlow- Specified by:
compileControlFlowin interfaceProcess- See Also:
-