Stateless bidirectional synchronization between ProgramOptions and UI analysis models.
More...
#include <OptionsSyncService.hpp>
Stateless bidirectional synchronization between ProgramOptions and UI analysis models.
◆ readFromUI()
Reads and validates analysis options from the UI window into a ProgramOptions struct.
- Parameters
-
| [in] | window | Source UI window. |
| [in] | frame_count | Total available frames in loaded trajectory. |
| [in] | bond_cutoffs | Active bond cutoff matrix to attach. |
- Returns
- Parsed and validated ProgramOptions on success, or an error string on failure.
◆ updateActiveGroupFlags()
Updates boolean UI visibility/active flags for calculator groups.
- Parameters
-
| [in,out] | window | Target UI window. |
| [in] | opts | Source program options containing active calculators. |
| [in] | registry | Injected calculator registry for metadata queries. |
◆ writeToUI()
| void correlation::app::OptionsSyncService::writeToUI |
( |
AppWindow & | window, |
|
|
const ProgramOptions & | options ) |
|
static |
Writes ProgramOptions fields to the target UI window.
- Parameters
-
| [in,out] | window | Target UI window. |
| [in] | options | Source program options to serialize. |
The documentation for this class was generated from the following files: