Class MalcolmModel
java.lang.Object
org.eclipse.scanning.api.AbstractNameable
org.eclipse.scanning.api.AbstractNameableTimeoutable
org.eclipse.scanning.api.device.models.AbstractDetectorModel
org.eclipse.scanning.api.device.models.MalcolmModel
- All Implemented Interfaces:
IDetectorModel,IMalcolmModel,IReflectedModel,INameable,ITimeoutable
- Direct Known Subclasses:
DummyMalcolmModel
The model for a malcolm device that writes h5 files.
-
Field Summary
Fields inherited from interface org.eclipse.scanning.api.device.models.IReflectedModel
EXCLUDED_FIELD_NAMES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the names of the scan axes that are controlled by malcolm.Get the models for the detectors controlled by malcolm.doubleGet the minimum exposure time for the current malcolm modelinthashCode()voidsetAxesToMove(List<String> axesToMove) voidsetDetectorModels(List<IMalcolmDetectorModel> detectorModels) voidsetMinExposureTime(double minExposureTime) toString()Methods inherited from class org.eclipse.scanning.api.device.models.AbstractDetectorModel
getExposureTime, setExposureTimeMethods inherited from class org.eclipse.scanning.api.AbstractNameableTimeoutable
getTimeout, setTimeoutMethods inherited from class org.eclipse.scanning.api.AbstractNameable
getName, setNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.scanning.api.device.models.IDetectorModel
getExposureTime, setExposureTimeMethods inherited from interface org.eclipse.scanning.api.device.models.IReflectedModel
getCommandStringMethods inherited from interface org.eclipse.scanning.api.ITimeoutable
getTimeout, setTimeout
-
Constructor Details
-
MalcolmModel
public MalcolmModel() -
MalcolmModel
-
-
Method Details
-
getMinExposureTime
public double getMinExposureTime()Description copied from interface:IMalcolmModelGet the minimum exposure time for the current malcolm model- Specified by:
getMinExposureTimein interfaceIMalcolmModel- Returns:
- exposure time for current detector
-
setMinExposureTime
public void setMinExposureTime(double minExposureTime) - Specified by:
setMinExposureTimein interfaceIMalcolmModel
-
getAxesToMove
Description copied from interface:IMalcolmModelGet the names of the scan axes that are controlled by malcolm.- Specified by:
getAxesToMovein interfaceIMalcolmModel- Returns:
- axes to move
-
setAxesToMove
- Specified by:
setAxesToMovein interfaceIMalcolmModel
-
getDetectorModels
Description copied from interface:IMalcolmModelGet the models for the detectors controlled by malcolm.- Specified by:
getDetectorModelsin interfaceIMalcolmModel- Returns:
- malcolm detector models
-
setDetectorModels
- Specified by:
setDetectorModelsin interfaceIMalcolmModel
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractDetectorModel
-
equals
- Overrides:
equalsin classAbstractDetectorModel
-
toString
- Overrides:
toStringin classAbstractDetectorModel
-