Class MeasureProperty<MeasureT extends Measure<UnitT>,MutMeasureT extends MutableMeasure<UnitT,MeasureT,MutMeasureT>,UnitT extends Unit>

java.lang.Object
xbot.common.properties.Property
xbot.common.properties.MeasureProperty<MeasureT,MutMeasureT,UnitT>
All Implemented Interfaces:
DataFrameRefreshable
Direct Known Subclasses:
AngleProperty, AngularVelocityProperty, DistanceProperty

public class MeasureProperty<MeasureT extends Measure<UnitT>,MutMeasureT extends MutableMeasure<UnitT,MeasureT,MutMeasureT>,UnitT extends Unit> extends Property
  • Constructor Details

  • Method Details

    • get

      public MeasureT get()
    • get_internal

      public MeasureT get_internal()
    • set

      public void set(MeasureT value)
    • hasChangedSinceLastCheck

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