Package eu.bandm.sig.adlib2
Class ByteClockedSignalSource.AbstractRandom
java.lang.Object
eu.bandm.sig.adlib2.AbstractProcess
eu.bandm.sig.adlib2.ByteStoredSignalSource
eu.bandm.sig.adlib2.compile.CompilableByteStoredSignalSource
eu.bandm.sig.adlib2.ByteClockedSignalSource.AbstractRandom
- All Implemented Interfaces:
AbstractClockedSignalSource,AbstractSignalSource,ByteClockedSignalSource,ByteSignalSource,CompilableControlFlow,CompilableDataFlow,Component,Process,ByteSupplier
- Enclosing interface:
ByteClockedSignalSource
@Undocumented
public abstract static class ByteClockedSignalSource.AbstractRandom
extends CompilableByteStoredSignalSource
-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.bandm.sig.adlib2.ByteClockedSignalSource
ByteClockedSignalSource.AbstractRandomNested classes/interfaces inherited from interface eu.bandm.sig.adlib2.Process
Process.Proxy -
Field Summary
FieldsFields inherited from class eu.bandm.sig.adlib2.ByteStoredSignalSource
outFields inherited from interface eu.bandm.sig.adlib2.AbstractClockedSignalSource
STREAM_CHARACTERISTICS, STREAM_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class eu.bandm.sig.adlib2.compile.CompilableByteStoredSignalSource
compileControlFlow, compileDataFlow, compileSetStoredValueVariable, getStoredValueVariable, publishStoredValueVariableMethods inherited from class eu.bandm.sig.adlib2.ByteStoredSignalSource
getAsByteMethods inherited from class eu.bandm.sig.adlib2.AbstractProcess
getRealtimeContext, setRealtimeContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface eu.bandm.sig.adlib2.ByteClockedSignalSource
after, compile, drain, drain, duringMethods inherited from interface eu.bandm.sig.adlib2.ByteSignalSource
abs, add, asDouble, asFloat, asInt, compileMainSignalSource, DEBUG, delayed, delayed, divide, equal, getConstantAsByte, getValueClass, greaterOrEqual, greaterThan, guard, hasConstantAsByte, invariant, lessOrEqual, lessThan, map, max, min, modulo, multiply, negate, negative, nonEqual, nonnegative, nonpositive, nonzero, positive, power, probe, relateWith, sampleAndHold, stored, subtract, zero, zipWithMethods inherited from interface eu.bandm.sig.adlib2.compile.CompilableDataFlow
compileDataFlowTo, hasDataFlowIOMethods inherited from interface eu.bandm.sig.adlib2.Process
afterEvery, andThen, compileAsMainProcess, every, every, getProcess, hasControlFlowIO, hasInitializationIO, setRealtimeContext, step
-
Field Details
-
random
-
-
Constructor Details
-
AbstractRandom
-
-
Method Details
-
init
public void init()Description copied from interface:ProcessInitializes the state of this process. The state is initialized such that the first subsequent call toProcess.step()transitions to the first specified observable state.The default implementation does nothing.
-
compileInitialization
Description copied from interface:ProcessCompiles the initialization of this process.This method emits code equivalent to the
Process.init()method of this component. The compilation context should be set up to specify no input or output variables.The default implementation emits code that simply invokes
Process.init()for this process.This method should be overridden together with
Process.compileControlFlow(), in order to ensure that both operate on the same state variables.- Specified by:
compileInitializationin interfaceCompilableControlFlow- Specified by:
compileInitializationin interfaceProcess- Overrides:
compileInitializationin classCompilableByteStoredSignalSource- See Also:
-
toString
-