Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
package org.micromanager.lightsheetmanager.api;

import org.micromanager.acqj.main.Acquisition;

import java.util.concurrent.Future;

public interface AcquisitionManager {

/**
* Return the acquisition currently being set up or running.
*
* @return the current acquisition, or null. Null before setup constructs it and again
* once the run finishes. Callers needing it after the run, for example to call
* checkForExceptions(), must retain their own reference.
*/
Acquisition current();

/**
* Request that an acquisition is run.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,11 @@ public AutofocusAdapter autofocus() {
return autofocus_;
}

@Override
public Acquisition current() {
return currentAcquisition_;
}

//////////////////////// AcquisitionControl Callback methods ////////////////////////
@Override
public void stop(boolean interrupted) {
Expand Down
Loading