Package brendes.jna

Class KK_Library.FHR_Settings

java.lang.Object
brendes.jna.KK_Library.FHR_Settings
Enclosing class:
KK_Library

public class KK_Library.FHR_Settings
extends java.lang.Object
Defines FHR settings for 24 channels
  • Field Summary

    Fields 
    Modifier and Type Field Description
    KK_Library.FHR_Data[] fhrChannels
    FHR setting per channel
  • Constructor Summary

    Constructors 
    Constructor Description
    FHR_Settings()
    Creates instance of FHR_Settings with all channels cleared
    FHR_Settings​(java.lang.String s)
    Creates instance of FHR_Settings and fills channels with string representation s Throws IllegalArgumentException, if s is not a valid string representation
  • Method Summary

    Modifier and Type Method Description
    void clear()
    Clears all channels
    boolean fromString​(java.lang.String s)
    Converts string representation to FHR_Settings, limits s to 24 channels
    java.lang.String toString()
    Returns string representation of FHR_Settings: string representations per channel separated by '/'

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • FHR_Settings

      public FHR_Settings()
      Creates instance of FHR_Settings with all channels cleared
    • FHR_Settings

      public FHR_Settings​(java.lang.String s) throws java.lang.IllegalArgumentException
      Creates instance of FHR_Settings and fills channels with string representation s Throws IllegalArgumentException, if s is not a valid string representation
      Parameters:
      s - string representation of FHR_Settings or empty string
      Throws:
      java.lang.IllegalArgumentException
  • Method Details

    • clear

      public void clear()
      Clears all channels
    • toString

      public java.lang.String toString()
      Returns string representation of FHR_Settings: string representations per channel separated by '/'
      Overrides:
      toString in class java.lang.Object
    • fromString

      public boolean fromString​(java.lang.String s)
      Converts string representation to FHR_Settings, limits s to 24 channels
      Parameters:
      s - string representation of FHR_Settings or empty string
      Returns:
      true, if s is a valid string representation