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

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

    • TWO

      public static final Level TWO
    • THREE

      public static final Level THREE
    • FOUR

      public static final Level FOUR
    • FIVE

      public static final Level FIVE
    • SEVEN

      public static final Level SEVEN
  • Method Details

    • values

      public static Level[] 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 Level 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<Level>
    • getReleativePower

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

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