Class DetectorBase

All Implemented Interfaces:
Device, Stoppable, Configurable, Findable, gda.observable.IObservable, Detector
Direct Known Subclasses:
AreaDetectorPilatusBase, DummyDetector, OdinEigerDetectorImpl

public abstract class DetectorBase extends DeviceBase implements Detector
Base class for classes implementing gda.px.detector.Detector
  • Field Details

    • defaultSuffix

      protected String defaultSuffix
  • Constructor Details

    • DetectorBase

      public DetectorBase()
  • Method Details

    • getId

      public int getId()
      Specified by:
      getId in interface Detector
    • setId

      public void setId(int id)
    • getSuffix

      public String getSuffix()
      Description copied from interface: Detector
      Returns the suffix currently given to all images created
      Specified by:
      getSuffix in interface Detector
      Returns:
      String
    • getTypeString

      public String getTypeString()
      Description copied from interface: Detector
      Returns the type of the detector
      Specified by:
      getTypeString in interface Detector
      Returns:
      String
    • getMaxDimension

      public double getMaxDimension()
      Description copied from interface: Detector
      Returns the largest dimension of the detector face in mm.
      Specified by:
      getMaxDimension in interface Detector
      Returns:
      double
    • getDetectorStatus

      public DetectorStatus getDetectorStatus() throws DeviceException
      Description copied from interface: Detector
      Returns current status of detector
      Specified by:
      getDetectorStatus in interface Detector
      Returns:
      DetectorStatus
      Throws:
      DeviceException
    • getCurrentParameters

      protected DetectorCollectionParameters getCurrentParameters()
    • setTypeString

      protected void setTypeString(String type)
    • setMaxDimension

      protected void setMaxDimension(double maxDimension)
    • setDetectorStatus

      protected void setDetectorStatus(DetectorStatus detectorStatus)
    • setCurrentParameters

      protected void setCurrentParameters(DetectorCollectionParameters currentParameters)
    • setSuffix

      protected void setSuffix(String suffix)
    • setRoiModeAllowed

      public void setRoiModeAllowed(boolean isRoiModeAllowed)
    • isRoiModeAllowed

      public boolean isRoiModeAllowed()