Package org.eclipse.scanning.api
Interface IScanAttributeContainer
- All Superinterfaces:
INameable
- All Known Implementing Classes:
AbstractAreaDetectorRunnableDevice,AbstractMalcolmDevice,AbstractRunnableDevice,AbstractScannable,AreaDetectorRunnableDevice,AreaDetectorRunnableDeviceProxy,AreaDetectorRunnableDeviceWaitForArray,AreaDetectorWritingFilesRunnableDevice,BeamScannable,CalibrationFrameCollector,CompositeNexusScannable,ConstantVelocityDevice,CountableScannable,DarkImageDetector,DetectorCollectionScannable,DummyMalcolmDevice,DummyMalcolmTriggeredDetector,ElectronAnalyserRunnableDevice,FrameCollectingScannable,JythonScannableNexusWrapper,MalcolmDevice,MandelbrotDetector,MockBeamOnMonitor,MockCountingPositionScannable,MockNeXusScannable,MockNeXusSlit,MockPausingMonitor,MockScannable,MockStringNexusScannable,MockStringScannable,MockTopupScannable,NexusSlitsWrapper,PosDetector,ProcessingMalcolmDevice,RandomIntDetector,RandomLineDevice,RunnableDeviceProxy,ScannableNexusWrapper,XmapRunnableDevice,XmapRunnableDeviceBase,XmapWritingFilesRunnableDevice,ZebraRunnableDevice
Interface to allow the getting and setting of scan attributes.
These are the attributes that should be written when the scan is performed, e.g. to a NeXus file
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> TgetScanAttribute(String attributeName) Get the value of the specified attributedefault <T> voidsetScanAttribute(String attributeName, T value) Set any attribute the implementing classes may provide
-
Method Details
-
getScanAttributeNames
- Returns:
- null if no attributes, otherwise collection of the names of the attributes set
-
setScanAttribute
Set any attribute the implementing classes may provide- Parameters:
attributeName- is the name of the attributevalue- is the value of the attribute
-
getScanAttribute
Get the value of the specified attribute- Parameters:
attributeName- is the name of the attribute- Returns:
- the value of the attribute
-