Package uk.ac.diamond.daq.mapping.api
Interface IScanModelWrapper<M>
- Type Parameters:
M-
- All Known Implementing Classes:
DetectorModelWrapper,ScanModelWrapper,ScanPathModelWrapper
public interface IScanModelWrapper<M>
A wrapper for model that can optionally be included in scan
-
Method Summary
Modifier and TypeMethodDescriptiongetModel()Get the model.getName()The name of the element, i.e.booleanWhether the item should be included in scans.voidsetIncludeInScan(boolean includeInScan) Set whether this item should be include in the scanvoidSet the model
-
Method Details
-
getName
String getName()The name of the element, i.e. the detector name.- Returns:
- name element name
-
isIncludeInScan
boolean isIncludeInScan()Whether the item should be included in scans.- Returns:
trueif this item should be included in scans,falseotherwise
-
setIncludeInScan
void setIncludeInScan(boolean includeInScan) Set whether this item should be include in the scan -
getModel
M getModel()Get the model.- Returns:
- the model
-
setModel
Set the model- Parameters:
model- new model
-