Package gda.scan
Class ScanDataPointPublisher
java.lang.Object
gda.scan.ScanDataPointPublisher
Broadcasts
ScanDataPoints and writes them to a DataWriter. This is also created
with a pointWrittenCallback which acts to fire specific event updates once data has been written
to disk.-
Constructor Summary
ConstructorsConstructorDescriptionScanDataPointPublisher(DataWriter dataWriter, ScanBase dataSourceForObservering, Consumer<Integer> pointWrittenCallback) -
Method Summary
-
Constructor Details
-
ScanDataPointPublisher
public ScanDataPointPublisher(DataWriter dataWriter, ScanBase dataSourceForObservering, Consumer<Integer> pointWrittenCallback)
-
-
Method Details
-
publish
- Throws:
Exception
-
getDataWriter
-
shutdown
- Throws:
DeviceException
-