public class IntCounter extends IntClockedSignalSource
Modifier and Type | Field and Description |
---|---|
protected IntSignalSource |
max |
protected IntSignalSource |
min |
protected IntSignalSource |
step |
out
DEFAULT_AFAP_INTERRUPT_LATENCY, DEFAULT_SLEEP_TIME_MS
Constructor and Description |
---|
IntCounter(int start,
IntSignalSource min,
IntSignalSource max,
IntSignalSource step) |
Modifier and Type | Method and Description |
---|---|
void |
run()
Processes an event.
|
compileDataFlow, counter, counter, counter, get, getAsInt, logged, logged, suppliedBy, suppliedBy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
constant, logger, logger, zipWith
constant
adHoc, afap, afap, andThen, asAsynchronousSwingEvent, compileControlFlow, every, every, frequently, frequently, frequently, sequence, times, times
protected final IntSignalSource min
protected final IntSignalSource max
protected final IntSignalSource step
public IntCounter(int start, IntSignalSource min, IntSignalSource max, IntSignalSource step)
public void run()
Realtime
Any implementation of this method should complete promptly and normally. In particular it must not block indefinitely.