public abstract class BooleanStoredSignalSource extends Object implements BooleanClockedSignalSource
boolean
whose output is the value of a variable that is
updated only as driven by a clock.
The current value is stored in the field out
, which
needs to be written by the method Process.step(RealtimeContext)
.
Process.Proxy
Modifier and Type | Field and Description |
---|---|
protected boolean |
out
The stored value of this signal source.
|
STREAM_CHARACTERISTICS, STREAM_SIZE
Constructor and Description |
---|
BooleanStoredSignalSource() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAsBoolean()
Returns the current value of this signal source.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adHoc, after, compile, cycle, during, initially, subsequently
and, becoming, ceasing, choose, choose, choose, choose, choose, choose, choose, choose, choose, choose, choose, clock, compileDataFlow, compileMainSignalSource, constant, delayed, delayed, delayedFeedback, delayedFeedback, getConstantAsBoolean, getValueClass, guard, hasConstantAsBoolean, invariant, map, not, or, power, probe, publishStoredValueVariable, relateWith, sampleAndHold, stored, xor, zipWith
compileDataFlowTo, hasDataFlowIO
afterEvery, andThen, compileAsMainProcess, compileControlFlow, compileInitialization, every, getProcess, hasControlFlowIO, hasInitializationIO, init, probe, sequence, sequence, step
public final boolean getAsBoolean()
The value may be either computed on demand, or retrieved from storage.
Implementations of this method should have no side effect.
getAsBoolean
in interface BooleanSignalSource
getAsBoolean
in interface BooleanSupplier
out