Class DistanceProperty

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

public class DistanceProperty extends Property
This manages a Distance in the property system.
  • Constructor Details

  • Method Details

    • get

      public Distance get()
    • get_internal

      public Distance get_internal()
    • set

      public void set(Distance value)
    • hasChangedSinceLastCheck

      public void hasChangedSinceLastCheck(Consumer<Distance> 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.