Class AbstractDetectorModel
java.lang.Object
org.eclipse.scanning.api.AbstractNameable
org.eclipse.scanning.api.AbstractNameableTimeoutable
org.eclipse.scanning.api.device.models.AbstractDetectorModel
- All Implemented Interfaces:
IDetectorModel,IReflectedModel,INameable,ITimeoutable
- Direct Known Subclasses:
AreaDetectorRunnableDeviceModel,ConstantVelocityModel,DarkImageModel,DummyMalcolmTriggeredModel,MalcolmDetectorModel,MalcolmModel,MandelbrotModel,PosDetectorModel,RandomLineModel,SimpleDetectorModel,XmapRunnableDeviceModel
public abstract class AbstractDetectorModel
extends AbstractNameableTimeoutable
implements IDetectorModel
-
Field Summary
Fields inherited from interface org.eclipse.scanning.api.device.models.IReflectedModel
EXCLUDED_FIELD_NAMES -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractDetectorModel(String name) protectedAbstractDetectorModel(String name, double exposureTime) protected -
Method Summary
Modifier and TypeMethodDescriptionbooleandoubleGet the exposure time to be used for the detector, in seconds.inthashCode()voidsetExposureTime(double exposureTime) Call to set the timetoString()Methods 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.IReflectedModel
getCommandStringMethods inherited from interface org.eclipse.scanning.api.ITimeoutable
getTimeout, setTimeout
-
Constructor Details
-
AbstractDetectorModel
protected AbstractDetectorModel() -
AbstractDetectorModel
-
AbstractDetectorModel
-
AbstractDetectorModel
-
-
Method Details
-
getExposureTime
public double getExposureTime()Description copied from interface:IDetectorModelGet the exposure time to be used for the detector, in seconds.- Specified by:
getExposureTimein interfaceIDetectorModel- Returns:
- the exposure time in seconds. Can be zero but not negative.
-
setExposureTime
public void setExposureTime(double exposureTime) Description copied from interface:IDetectorModelCall to set the time- Specified by:
setExposureTimein interfaceIDetectorModel- Parameters:
exposureTime-
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractNameableTimeoutable
-
equals
- Overrides:
equalsin classAbstractNameableTimeoutable
-
toString
- Overrides:
toStringin classAbstractNameableTimeoutable
-