Commit 57fe9f4d authored by Aliaksandr Halavatyi's avatar Aliaksandr Halavatyi
Browse files

introducing microscopeController interface

parent c0a2628a
......@@ -8,7 +8,7 @@
<version>5.0</version> <relativePath /> </parent> -->
<groupId>embl.almf</groupId>
<artifactId>AutoMicTools_</artifactId>
<version>1.1.25</version>
<version>1.1.26-SNAPSHOT</version>
<name>plugins/AutoMicTools_.jar</name>
<description>Collection of tools for automated (feedback) microscopy data acquisition and analysis</description>
......
......@@ -26,4 +26,11 @@ public interface MicroscopeCommanderInterface {
public void submitJobPixels(File _sourceImageFile, String _jobNameToPerform, Point3D _position) throws Exception;
public void submitJobPixels(File _sourceImageFile, String _jobNameToPerform, Point3D[] _positions) throws Exception;
/**
* method for creating class controlling default positions and imaging jobs at the microscope side.
* Should return null when these functions are taken over by another software (e.g. in case of ZenBlack)
* @return either null or object matching MicroscopeController interface. In case the output is not null, JobDistributor will start a special thread running this microscope controller.
*/
public MicroscopeControllerInterface createMicroscopeController();
}
package automic.online.microscope;
public interface MicroscopeControllerInterface {
}
......@@ -41,5 +41,10 @@ public class ZenBlackCommander implements MicroscopeCommanderInterface {
throws Exception{
submitJobPixels(_sourceImageFile, _jobNameToPerform, _positions, null);
}
@Override
public MicroscopeControllerInterface createMicroscopeController() {
return null;
}
}
......@@ -184,4 +184,10 @@ public class ZenBlueCommander implements MicroscopeCommanderInterface{
return null;
return _array[_index];
}
@Override
public MicroscopeControllerInterface createMicroscopeController() {
return null;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment