Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add onImageSnapped, onSequenceAcquisitionStarted, onSequenceAcquisitionStopped events #538

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tlambert03
Copy link
Contributor

@tlambert03 tlambert03 commented Dec 16, 2024

These events would make it easier for the application side to "know" that a new image buffer is available to display.

As with most callbacks here, I'm aware that this implementation is slightly leaky (in that some devices may snap/start/stop without these events being emitted). That's certainly less than ideal, but it's still better than not knowing at all, and covers cases where the core API itself is used to snap/start/stop

@marktsuchida
Copy link
Member

TODO:

  • Check that MMStudio has no issues with MMCoreJ built with this (it shouldn't)
  • Bump MMCore minor version at time of merge (not major since this should be source-compatible)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants