Class DummyMalcolmDetectorModel
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.MalcolmDetectorModel
org.eclipse.scanning.example.malcolm.DummyMalcolmDetectorModel
- All Implemented Interfaces:
IDetectorModel,IMalcolmDetectorModel,IReflectedModel,INameable,ITimeoutable
A model describing a detector that would be controlled by malcolm in a real scan.
Note that this is NOT the model for a malcolm device -
DummyMalcolmModel
fulfils that role. Instead one or more of these models in a child of a
DummyMalcolmModel tells the
DummyMalcolmDevice what nexus files and datasets to write, so that it can be
set up to produce a nexus file similar to what a real malcolm device would.
The first DummyMalcolmDatasetModel in the List returned by
getDatasets() will be the primary one, the others will be secondary.-
Field Summary
Fields inherited from interface org.eclipse.scanning.api.device.models.IReflectedModel
EXCLUDED_FIELD_NAMES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDataset(DummyMalcolmDatasetModel dataset) voidsetDatasets(List<DummyMalcolmDatasetModel> datasets) A collection ofDummyMalcolmDatasetModels each describing a dataset that should be written for this device.toString()Methods inherited from class org.eclipse.scanning.api.device.models.MalcolmDetectorModel
equals, getFramesPerStep, hashCode, isEnabled, setEnabled, setFramesPerStepMethods 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
-
DummyMalcolmDetectorModel
public DummyMalcolmDetectorModel() -
DummyMalcolmDetectorModel
-
-
Method Details
-
getDatasets
-
setDatasets
A collection ofDummyMalcolmDatasetModels each describing a dataset that should be written for this device.- Parameters:
datasets-
-
addDataset
-
toString
- Overrides:
toStringin classMalcolmDetectorModel
-