Class DoubleProperty

java.lang.Object
xbot.common.properties.Property
xbot.common.properties.DoubleProperty
All Implemented Interfaces:
DataFrameRefreshable

public class DoubleProperty extends Property
This manages a double in the property system.
  • Constructor Details

  • Method Details

    • get

      public double get()
    • get_internal

      public double get_internal()
    • set

      public void set(double value)
    • hasChangedSinceLastCheck

      public void hasChangedSinceLastCheck(Consumer<Double> callback)
    • hasChangedSinceLastCheck

      public boolean hasChangedSinceLastCheck()
    • isSetToDefault

      public boolean isSetToDefault()
      Description copied from class: Property
      Checks if the property's current value matches the default.
      Specified by:
      isSetToDefault in class Property
      Returns:
      True if the current value is the default.
    • refreshDataFrame

      public void refreshDataFrame()
      Description copied from interface: DataFrameRefreshable
      Consumes and processes inputs from the device or subsystem.