Package uk.ac.gda.server.ncd.subdetector
Class NcdXmapDetector
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
uk.ac.gda.server.ncd.subdetector.NcdSubDetector
uk.ac.gda.server.ncd.subdetector.NcdXmapDetector
- All Implemented Interfaces:
Device,Configurable,Findable,gda.observable.IObservable,INcdSubDetector
class for integrating a single vortex detector via xmap into the ncddetector system
-
Field Summary
Fields inherited from class uk.ac.gda.server.ncd.subdetector.NcdSubDetector
attributeMap, configuration, description, detector, detectorType, interpretation, mask, metaProviders, pixelSizeFields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTYFields inherited from interface uk.ac.gda.server.ncd.subdetector.INcdSubDetector
descriptionLabel, SERIAL_NUMBER_LABEL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.int[]intThe supported dimensions are obtained firstly from the XML Spring configuration and if not there will try a detector attribute "DataDimensions" else it will fallback to the currently selected data dimensions.voidsetDataDimensions(int[] detectorSize) voidsetXmapController(XmapController xmapcontroller) voidsetXmapControllerName(String xmapControllerName) voidstart()voidstop()voidwriteout(int frames, NXDetectorData dataTree) add detector data for frames to the returned data typeMethods inherited from class uk.ac.gda.server.ncd.subdetector.NcdSubDetector
addMetadata, addPostScanAction, addPreScanAction, atScanEnd, atScanStart, atScanStart, close, getAttribute, getDetector, getDetectorProperties, getInterpretation, getMask, getPixelSize, getPostScanActions, getPreScanActions, getSerialNumber, getTreeName, reconfigure, removePostScanAction, removePreScanAction, restoreAttributeMap, setAttribute, setCollectionTime, setDetector, setDetectorType, setInterpretation, setMask, setMetaProviders, setPixelSize, setPostScanActions, setPreScanActions, setSerialNumber, setTimer, toStringMethods inherited from class gda.device.DeviceBase
addIObserver, deleteIObserver, deleteIObservers, getName, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setConfigureAtStartup, setName, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
isConfigured, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gda.factory.Configurable
isConfigureAtStartup, isConfiguredMethods inherited from interface gda.device.Device
getProtectionLevel, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Constructor Details
-
NcdXmapDetector
public NcdXmapDetector()
-
-
Method Details
-
clear
- Specified by:
clearin interfaceINcdSubDetector- Overrides:
clearin classNcdSubDetector- Throws:
DeviceException
-
getDataDimensions
- Specified by:
getDataDimensionsin interfaceINcdSubDetector- Overrides:
getDataDimensionsin classNcdSubDetector- Throws:
DeviceException
-
getDetectorType
- Specified by:
getDetectorTypein interfaceINcdSubDetector- Overrides:
getDetectorTypein classNcdSubDetector
-
getMemorySize
- Specified by:
getMemorySizein interfaceINcdSubDetector- Overrides:
getMemorySizein classNcdSubDetector- Throws:
DeviceException
-
getSupportedDimensions
Description copied from class:NcdSubDetectorThe supported dimensions are obtained firstly from the XML Spring configuration and if not there will try a detector attribute "DataDimensions" else it will fallback to the currently selected data dimensions.- Specified by:
getSupportedDimensionsin interfaceINcdSubDetector- Overrides:
getSupportedDimensionsin classNcdSubDetector- Throws:
DeviceException
-
setDataDimensions
- Specified by:
setDataDimensionsin interfaceINcdSubDetector- Overrides:
setDataDimensionsin classNcdSubDetector- Throws:
DeviceException
-
start
- Specified by:
startin interfaceINcdSubDetector- Overrides:
startin classNcdSubDetector- Throws:
DeviceException
-
stop
- Specified by:
stopin interfaceINcdSubDetector- Overrides:
stopin classNcdSubDetector- Throws:
DeviceException
-
writeout
Description copied from interface:INcdSubDetectoradd detector data for frames to the returned data type- Specified by:
writeoutin interfaceINcdSubDetector- Overrides:
writeoutin classNcdSubDetector- Parameters:
frames-dataTree-- Throws:
DeviceException
-
configure
Description copied from class:ConfigurableBaseDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.- Specified by:
configurein interfaceConfigurable- Overrides:
configurein classNcdSubDetector- Throws:
FactoryException- if there is an error in configuration e.g. required variable not set or cannot connect to device
-
getXmapControllerName
-
setXmapControllerName
-
getXmapController
-
setXmapController
-