Package eu.bandm.sig.adlib2.lib
Class SaH<A>
java.lang.Object
eu.bandm.sig.adlib2.AbstractProcess
eu.bandm.sig.adlib2.StoredSignalSource<A>
eu.bandm.sig.adlib2.lib.SaH<A>
- All Implemented Interfaces:
AbstractClockedSignalSource,AbstractSignalSource,ClockedSignalSource<A>,Component,Process,SignalSource<A>,Supplier<A>
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.Process
Process.Proxy -
Field Summary
FieldsFields inherited from class eu.bandm.sig.adlib2.StoredSignalSource
out, valueClassFields 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.StoredSignalSource
get, getValueClassMethods inherited from class eu.bandm.sig.adlib2.AbstractProcess
getRealtimeContext, hasFixedConstantRealtimeContext, 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.ClockedSignalSource
after, drain, drain, during, spliterator, streamMethods inherited from interface eu.bandm.sig.adlib2.Process
afterEvery, andThen, conditional, every, every, getProcess, init, setRealtimeContextMethods inherited from interface eu.bandm.sig.adlib2.SignalSource
clockedAfter, delayed, delayed, eq, getConstant, guard, hasConstant, invariant, map, map, neq, power, probe, relateWith, sampleAndHold, stored, zipWith
-
Field Details
-
source
-
-
Constructor Details
-
SaH
-
-
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.
-