Interface IDetectorModel
- All Superinterfaces:
INameable,IReflectedModel,ITimeoutable
- All Known Subinterfaces:
IMalcolmDetectorModel,IMalcolmModel
- All Known Implementing Classes:
AbstractDetectorModel,AreaDetectorRunnableDeviceExtendedModel,AreaDetectorRunnableDeviceModel,AreaDetectorWritingFilesRunnableDeviceModel,ConstantVelocityModel,DarkImageModel,DummyMalcolmDetectorModel,DummyMalcolmModel,DummyMalcolmTriggeredModel,ElectronAnalyserRunnableDeviceModel,MalcolmDetectorModel,MalcolmModel,MandelbrotModel,PosDetectorModel,RandomLineModel,SimpleDetectorModel,XmapRunnableDeviceModel,XmapWritingFilesRunnableDeviceModel,ZebraModel
Interface to be implemented by all detector models, to ensure they have an exposure time.
-
Field Summary
Fields inherited from interface org.eclipse.scanning.api.device.models.IReflectedModel
EXCLUDED_FIELD_NAMES -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the exposure time to be used for the detector, in seconds.voidsetExposureTime(double time) Call to set the timeMethods inherited from interface org.eclipse.scanning.api.device.models.IReflectedModel
getCommandStringMethods inherited from interface org.eclipse.scanning.api.ITimeoutable
getTimeout, setTimeout
-
Method Details
-
getExposureTime
double getExposureTime()Get the exposure time to be used for the detector, in seconds.- Returns:
- the exposure time in seconds. Can be zero but not negative.
-
setExposureTime
void setExposureTime(double time) Call to set the time- Parameters:
time-
-