public class FloatCounter extends FloatClockedSignalSource
FloatSignalSource.CompilableBinaryOperator
Modifier and Type | Field and Description |
---|---|
protected FloatSignalSource |
max |
protected FloatSignalSource |
min |
protected FloatSignalSource |
step |
out
add, clip, cos, div, E, exp, log, LOG2, mult, neg, PI, sin, sqrt, SQRT2, square, sub
DEFAULT_AFAP_INTERRUPT_LATENCY, DEFAULT_SLEEP_TIME_MS
Constructor and Description |
---|
FloatCounter(float start,
FloatSignalSource min,
FloatSignalSource max,
FloatSignalSource step) |
Modifier and Type | Method and Description |
---|---|
void |
run()
Processes an event.
|
delayedBy, delayedWith, doCompileDataFlow, get, getAsFloat, logged, logged, random, randomNormal, randomUniform, repeat, slide, suppliedBy, suppliedBy, switchOver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, check, clip, clocked, compileDataFlow, constant, div, guard, logger, logger, lowerLogSpread, map, mult, project, project, project, sub, upperLogSpread, zipWith, zipWith
constant
adHoc, afap, afap, andThen, asAsynchronousSwingEvent, compileControlFlow, every, every, frequently, frequently, frequently, sequence, times, times
protected final FloatSignalSource min
protected final FloatSignalSource max
protected final FloatSignalSource step
public FloatCounter(float start, FloatSignalSource min, FloatSignalSource max, FloatSignalSource step)
public void run()
Realtime
Any implementation of this method should complete promptly and normally. In particular it must not block indefinitely.