Class NXDetectorSnappingDecorator

java.lang.Object
gda.device.detector.PassthroughDetectorWrapper
gda.device.detector.NXDetectorSnappingDecorator
All Implemented Interfaces:
Detector, NexusDetector, NXPluginDetector, DetectorSnapper, Device, Scannable, PositionCallableProvider<NexusTreeProvider>, Configurable, Findable, gda.observable.IObservable

public class NXDetectorSnappingDecorator extends PassthroughDetectorWrapper implements NXPluginDetector, DetectorSnapper
Decorator to extend an NXDetector to allow use in the "pos" command.

Uses a separate plugin list and collection strategy for use in the pos command and delegates to the decorated detector when used in a scan.

 
 <bean id="detector" class="NXDetectorSnappingDecorator">
 	<constructor-arg ref="_original_nxdetector_to_extend" />
 	<property name="snapperCollectionStrategy">
 		<bean class="SingleExposureStandard"> ... </bean>
 	</property>
 	<property name="snapperPluginList">
 		<list>
 			<bean class="SingleImagePerFileWriterWithNumTracker">
 				...
 			</bean>
 		</list>
 	</property>
 </bean>