Skip to content

Re-focusing state machine for Capture

Next step towards dedicated state machines: shifting re-focus logic to the Capture state machine:

  • timer based refocusing
  • HFR based refocusing (a.k.a. in-sequence focusing)
  • temperature based refocusing
  • post-meridian flip refocusing

For all these cases, special test cases are implemented in TestEkosCaptureWorkflow and TestEkosMeridianFlip.

With this refactoring the logic handling re-focusing is no longer spread over several places of Capture. The refactoring follows the following rules:

  • all logic regarding re-focusing is shifted to CaptureModuleState
  • the state machine has no direct connections to devices
  • communication to devices and Capture is event based, only the direction Capture --> CaptureModuleState is via direct method invocation
  • Capture creates the connections between the state machine, the devices and itself
Edited by Wolfgang Reissenberger

Merge request reports

Loading