Package eu.bandm.sig.adlib2.lib
Class IntSaH
java.lang.Object
eu.bandm.sig.adlib2.AbstractProcess
eu.bandm.sig.adlib2.IntStoredSignalSource
eu.bandm.sig.adlib2.lib.IntSaH
- All Implemented Interfaces:
AbstractClockedSignalSource,AbstractSignalSource,CompilableControlFlow,CompilableDataFlow,Component,IntClockedSignalSource,IntSignalSource,Process,IntSupplier
Sample and Hold takes a semple of the input signal whenever step() is invoked.
-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.bandm.sig.adlib2.IntClockedSignalSource
IntClockedSignalSource.AbstractRandomNested classes/interfaces inherited from interface eu.bandm.sig.adlib2.Process
Process.Proxy -
Field Summary
FieldsFields inherited from class eu.bandm.sig.adlib2.IntStoredSignalSource
outFields inherited from interface eu.bandm.sig.adlib2.AbstractClockedSignalSource
STREAM_CHARACTERISTICS, STREAM_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstep()Signals a time event, executing a transition step for this process to the next observable state.Methods inherited from class eu.bandm.sig.adlib2.IntStoredSignalSource
getAsIntMethods 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.IntClockedSignalSource
after, compile, drain, drain, during, spliterator, streamMethods inherited from interface eu.bandm.sig.adlib2.IntSignalSource
abs, add, asDouble, asFloat, asInt, compileDataFlow, compileMainSignalSource, DEBUG, delayed, delayed, divide, equal, getConstantAsInt, getValueClass, greaterOrEqual, greaterThan, guard, hasConstantAsInt, invariant, lessOrEqual, lessThan, map, max, min, modulo, multiply, negate, negative, nonEqual, nonnegative, nonpositive, nonzero, positive, power, probe, publishStoredValueVariable, relateWith, sampleAndHold, stored, subtract, zero, zipWithMethods inherited from interface eu.bandm.sig.adlib2.Process
afterEvery, andThen, compileAsMainProcess, compileControlFlow, compileInitialization, every, every, getProcess, hasControlFlowIO, hasInitializationIO, init, setRealtimeContext
-
Field Details
-
source
-
-
Constructor Details
-
IntSaH
-
-
Method Details
-
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.
-