Enum Class Waveform

java.lang.Object
java.lang.Enum<Waveform>
de.labAlive.system.source.signalGenerator.Waveform
All Implemented Interfaces:
WaveformGeneratorFactory, Serializable, Comparable<Waveform>, Constable

public enum Waveform extends Enum<Waveform> implements WaveformGeneratorFactory
Supported Waveforms of the signal generator.
  • Enum Constant Details

    • SINE

      public static final Waveform SINE
    • COSINE

      public static final Waveform COSINE
    • TRIANGLE

      public static final Waveform TRIANGLE
    • SAWTOOTH

      public static final Waveform SAWTOOTH
    • SQUARE

      public static final Waveform SQUARE
    • DC

      public static final Waveform DC
    • RANDOM_SQUARE

      public static final Waveform RANDOM_SQUARE
    • LAPLACE

      public static final Waveform LAPLACE
    • DIRAC_DELTA

      public static final Waveform DIRAC_DELTA
    • SAMPLES_LOCAL_SELECT

      public static final Waveform SAMPLES_LOCAL_SELECT
    • SAMPLES_SERVER_SELECT

      public static final Waveform SAMPLES_SERVER_SELECT
    • SELECTED_SAMPLES_FROM_SERVER

      public static final Waveform SELECTED_SAMPLES_FROM_SERVER
  • Method Details

    • values

      public static Waveform[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Waveform valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Waveform>
    • getReleativePower

      public double getReleativePower()
      Specified by:
      getReleativePower in interface WaveformGeneratorFactory
    • createWaveformGenerator

      public abstract WaveformGenerator createWaveformGenerator()
      Specified by:
      createWaveformGenerator in interface WaveformGeneratorFactory
    • setSignalGenerator

      public void setSignalGenerator(SignalGenerator signalGenerator)