Package gda.device

Interface ITweakable

All Superinterfaces:
Findable
All Known Subinterfaces:
ITweakableScannableMotor
All Known Implementing Classes:
MotorPositionTweakControl, TweakableScannableMotor

public interface ITweakable extends Findable
an interface for a device whose position can be tweaked forward or reverse by the increment amount
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    increase value of this object by a fixed amount given in getIncrement()
    double
    returns the increment amount of this object
    void
    decrease value of this object by a fixed amount given in getIncrement()
    void
    setIncrement(double value)
    set the increment amount for this object

    Methods inherited from interface gda.factory.Findable

    getName, setName
  • Method Details

    • forward

      void forward() throws MotorException
      increase value of this object by a fixed amount given in getIncrement()
      Throws:
      MotorException
    • reverse

      void reverse() throws MotorException
      decrease value of this object by a fixed amount given in getIncrement()
      Throws:
      MotorException
    • setIncrement

      void setIncrement(double value)
      set the increment amount for this object
    • getIncrement

      double getIncrement()
      returns the increment amount of this object
      Returns:
      the increment amount