Package org.yamcs.studio.data.sim
Class SimFunction<T>
java.lang.Object
org.yamcs.studio.data.sim.SimFunction<T>
- Direct Known Subclasses:
Flipflop
,GaussianNoise
,GaussianWaveform
,Noise
,NoiseWaveform
,Ramp
,SawtoothWaveform
,Sine
,Sine2DWaveform
,SineWaveform
,Square2DWaveform
,SquareWaveform
,Strings
,Table
,TriangleWaveform
Base class for all simulated functions. It provide constant rate data generation facilities.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateValues
(TimeInterval interval) Computes all the new values in the given time slice by calling nextValue() appropriately.Returns the time between each sample.
-
Field Details
-
lastTime
-
-
Method Details
-
createValues
Computes all the new values in the given time slice by calling nextValue() appropriately.- Parameters:
interval
- the interval where the data should be generated- Returns:
- the new values
-
getTimeBetweenSamples
Returns the time between each sample.- Returns:
- a time duration
-