Class FloatIntegralLimited

All Implemented Interfaces:
CompilableControlFlow, CompilableDataFlow, FloatSignalSource, FloatSupplier, Realtime, SignalSource<Float>, Runnable, Supplier<Float>

public class FloatIntegralLimited extends FloatClockedSignalSource
Assume input is encoded as 1.0/msec.
  • Field Details

    • freq

      protected final float freq
    • min

      protected final float min
    • max

      protected final float max
    • factor

      protected final float factor
    • multiplier

      protected final float multiplier
    • input

      protected final FloatSignalSource input
  • Constructor Details

    • FloatIntegralLimited

      public FloatIntegralLimited(int freq, FloatSignalSource input, float min, float max, float factor)
  • Method Details

    • run

      public void run()
      Description copied from interface: Realtime
      Processes an event.

      Any implementation of this method should complete promptly and normally. In particular it must not block indefinitely.