Class IntSaH

All Implemented Interfaces:
AbstractClockedSignalSource, AbstractSignalSource, CompilableControlFlow, CompilableDataFlow, Component, IntClockedSignalSource, IntSignalSource, Process, IntSupplier

public class IntSaH extends IntStoredSignalSource
Sample and Hold takes a semple of the input signal whenever step() is invoked.
  • Field Details

  • Constructor Details

  • Method Details

    • step

      public void step()
      Description copied from interface: Process
      Signals 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 via Process.init(). The behavior of this method is unspecified if Process.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.