Package eu.bandm.sighkn
Class IntCounter
java.lang.Object
eu.bandm.sig.adlib.IntClockedSignalSource
eu.bandm.sighkn.IntCounter
- All Implemented Interfaces:
CompilableControlFlow
,CompilableDataFlow
,IntSignalSource
,Realtime
,SignalSource<Integer>
,Runnable
,IntSupplier
,Supplier<Integer>
PROVIS stimmt noch nicht! Zählt "run()" aufrufe, die SONST keine Semantik haben sollten!"
-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.bandm.sig.adlib.SignalSource
SignalSource.AddOperator, SignalSource.CompilableBinaryOperator, SignalSource.Constant<A>, SignalSource.DivOperator, SignalSource.MultOperator, SignalSource.SubOperator
-
Field Summary
Modifier and TypeFieldDescriptionprotected final IntSignalSource
protected final IntSignalSource
protected final IntSignalSource
Fields inherited from class eu.bandm.sig.adlib.IntClockedSignalSource
out
Fields inherited from interface eu.bandm.sig.adlib.Realtime
DEFAULT_AFAP_INTERRUPT_LATENCY, DEFAULT_SLEEP_TIME_MS
-
Constructor Summary
ConstructorDescriptionIntCounter
(int start, IntSignalSource min, IntSignalSource max, IntSignalSource step) -
Method Summary
Methods inherited from class eu.bandm.sig.adlib.IntClockedSignalSource
compileDataFlow, counter, counter, counter, get, getAsInt, logged, logged, suppliedBy, suppliedBy
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.bandm.sig.adlib.IntSignalSource
logger, logger, zipWith
Methods inherited from interface eu.bandm.sig.adlib.Realtime
afap, afap, andThen, asAsynchronousSwingEvent, compileControlFlow, every, every, frequently, frequently, frequently, times, times
-
Field Details
-
min
-
max
-
step
-
-
Constructor Details
-
IntCounter
-
-
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.
-